mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-27 20:58:47 +00:00
switch Android and Windows to do nightly builds
This way our ongoing releases will be in their own repo. Also, use a nicer date format (at least I think this looks nicer). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
841c100a1e
commit
d76354c48c
3 changed files with 19 additions and 7 deletions
12
.github/workflows/android.yml
vendored
12
.github/workflows/android.yml
vendored
|
@ -51,14 +51,20 @@ jobs:
|
|||
git config --global --add safe.directory ${SUBSURFACE_REPO_PATH}/libdivecomputer
|
||||
bash -x ./subsurface/packaging/android/qmake-build.sh
|
||||
|
||||
- name: Get current date
|
||||
id: date
|
||||
run: echo "today=$(date '+%Y-%m-%d')" >> $GITHUB_OUTPUT
|
||||
|
||||
# only publish a 'release' on push events (those include merging a PR)
|
||||
- name: upload binaries
|
||||
if: github.event_name == 'push'
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
tag_name: ${{ steps.tag.outputs.tag }}
|
||||
prerelease: ${{ steps.tag.outputs.is_latest }}
|
||||
tag_name: v${{ steps.date.outputs.today }}.${{ github.run_number }}
|
||||
repository: subsurface/nightly-builds
|
||||
token: ${{ secrets.NIGHTLY_BUILDS }}
|
||||
prerelease: false
|
||||
body: CICD release artifact
|
||||
fail_on_unmatched_files: false
|
||||
fail_on_unmatched_files: true
|
||||
files: |
|
||||
Subsurface-mobile*.apk
|
||||
|
|
2
.github/workflows/mac.yml
vendored
2
.github/workflows/mac.yml
vendored
|
@ -42,7 +42,7 @@ jobs:
|
|||
|
||||
- name: Get current date
|
||||
id: date
|
||||
run: echo "today=$(date '+%Y%m%d')" >> $GITHUB_OUTPUT
|
||||
run: echo "today=$(date '+%Y-%m-%d')" >> $GITHUB_OUTPUT
|
||||
|
||||
# only publish a 'release' on push events (those include merging a PR)
|
||||
- name: upload binaries
|
||||
|
|
12
.github/workflows/windows.yml
vendored
12
.github/workflows/windows.yml
vendored
|
@ -58,15 +58,21 @@ jobs:
|
|||
bash -x subsurface/.github/workflows/scripts/windows-in-container-build.sh 2>&1 | tee build.log
|
||||
grep "Built target installer" build.log
|
||||
|
||||
- name: Get current date
|
||||
id: date
|
||||
run: echo "today=$(date '+%Y-%m-%d')" >> $GITHUB_OUTPUT
|
||||
|
||||
# only publish a 'release' on push events (those include merging a PR)
|
||||
- name: upload binaries
|
||||
if: github.event_name == 'push'
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
tag_name: ${{ steps.tag.outputs.tag }}
|
||||
prerelease: ${{ steps.tag.outputs.is_latest }}
|
||||
tag_name: v${{ steps.date.outputs.today }}.${{ github.run_number }}
|
||||
repository: subsurface/nightly-builds
|
||||
token: ${{ secrets.NIGHTLY_BUILDS }}
|
||||
prerelease: false
|
||||
body: CICD release artifact
|
||||
fail_on_unmatched_files: false
|
||||
fail_on_unmatched_files: true
|
||||
files: |
|
||||
./subsurface*.exe*
|
||||
./smtk2ssrf*.exe
|
||||
|
|
Loading…
Reference in a new issue