mirror of
https://github.com/fankes/termux-app.git
synced 2025-09-04 17:55:36 +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