Skip to content

Commit

Permalink
Trigger termux library builds on jitpack on releases
Browse files Browse the repository at this point in the history
  • Loading branch information
agnostic-apollo committed Jul 8, 2021
1 parent e0ad9ff commit d49fd6b
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/trigger_library_builds_on_jitpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Trigger Termux Library Builds on Jitpack

on:
release:
types:
- published

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set tag
id: vars
run: echo ::set-output name=tag::${GITHUB_REF/refs\/tags\/v/}
- name: Trigger termux library builds on jitpack
env:
RELEASE_VERSION: ${{ steps.vars.outputs.tag }}
run: |
echo "Triggering termux library builds on jitpack for $RELEASE_VERSION"
curl --max-time 600 https://jitpack.io/com/termux/termux-app/terminal-emulator/$RELEASE_VERSION/terminal-emulator-$RELEASE_VERSION.pom
curl --max-time 600 https://jitpack.io/com/termux/termux-app/terminal-view/$RELEASE_VERSION/terminal-view-$RELEASE_VERSION.pom
curl --max-time 600 https://jitpack.io/com/termux/termux-app/termux-shared/$RELEASE_VERSION/termux-shared-$RELEASE_VERSION.pom

0 comments on commit d49fd6b

Please sign in to comment.