mirror of
https://github.com/antebudimir/tempus.git
synced 2025-12-31 17:43:32 +00:00
Github Action tuning
This commit is contained in:
parent
f5ffa55853
commit
baae7b900a
1 changed files with 14 additions and 1 deletions
15
.github/workflows/github_release.yml
vendored
15
.github/workflows/github_release.yml
vendored
|
|
@ -6,7 +6,7 @@ on:
|
||||||
- '[0-9]+.[0-9]+.[0-9]+'
|
- '[0-9]+.[0-9]+.[0-9]+'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
setup:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Setup JDK 8
|
- name: Setup JDK 8
|
||||||
|
|
@ -23,6 +23,10 @@ jobs:
|
||||||
echo $ENCODED_STRING > keystore-b64.txt
|
echo $ENCODED_STRING > keystore-b64.txt
|
||||||
base64 -di keystore-b64.txt > $KEYSTORE_PATH
|
base64 -di keystore-b64.txt > $KEYSTORE_PATH
|
||||||
|
|
||||||
|
build:
|
||||||
|
needs: setup
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Cache Gradle and wrapper
|
- name: Cache Gradle and wrapper
|
||||||
|
|
@ -61,6 +65,15 @@ jobs:
|
||||||
app/build/outputs/bundle/release/
|
app/build/outputs/bundle/release/
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
|
|
||||||
|
release:
|
||||||
|
needs: build
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/download-artifact@v3
|
||||||
|
with:
|
||||||
|
name: release-artifacts
|
||||||
|
|
||||||
- name: Create Github Release
|
- name: Create Github Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue