Skip to content

Commit d49fd6b

Browse files
Trigger termux library builds on jitpack on releases
1 parent e0ad9ff commit d49fd6b

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Trigger Termux Library Builds on Jitpack
2+
3+
on:
4+
release:
5+
types:
6+
- published
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Set tag
13+
id: vars
14+
run: echo ::set-output name=tag::${GITHUB_REF/refs\/tags\/v/}
15+
- name: Trigger termux library builds on jitpack
16+
env:
17+
RELEASE_VERSION: ${{ steps.vars.outputs.tag }}
18+
run: |
19+
echo "Triggering termux library builds on jitpack for $RELEASE_VERSION"
20+
curl --max-time 600 https://jitpack.io/com/termux/termux-app/terminal-emulator/$RELEASE_VERSION/terminal-emulator-$RELEASE_VERSION.pom
21+
curl --max-time 600 https://jitpack.io/com/termux/termux-app/terminal-view/$RELEASE_VERSION/terminal-view-$RELEASE_VERSION.pom
22+
curl --max-time 600 https://jitpack.io/com/termux/termux-app/termux-shared/$RELEASE_VERSION/termux-shared-$RELEASE_VERSION.pom

0 commit comments

Comments
 (0)