mirror of
https://github.com/fankes/termux-app.git
synced 2025-09-05 02:05:25 +08:00
github actions: add workflow for publishing terminal-view/terminal-emulator on Github Packages
This commit is contained in:
25
.github/workflows/publish_libraries.yml
vendored
Normal file
25
.github/workflows/publish_libraries.yml
vendored
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
name: Publish library packages
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
paths:
|
||||||
|
- 'terminal-emulator/build.gradle'
|
||||||
|
- 'terminal-view/build.gradle'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Clone repository
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
- name: Perform release build
|
||||||
|
run: |
|
||||||
|
./gradlew assembleRelease
|
||||||
|
- name: Publish libraries on Github Packages
|
||||||
|
env:
|
||||||
|
GH_USERNAME: xeffyr
|
||||||
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||||
|
run: |
|
||||||
|
./gradlew publish
|
Reference in New Issue
Block a user