Keep appimages as artifacts
This commit is contained in:
parent
cd6c45aa2c
commit
df1775cbf5
1 changed files with 26 additions and 18 deletions
44
.github/workflows/appimage.yml
vendored
44
.github/workflows/appimage.yml
vendored
|
@ -17,22 +17,30 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Build game ${{ matrix.game.id }}
|
- name: Build game ${{ matrix.game.id }}
|
||||||
run: bash -x ./tools/build_appimage.sh ${{ matrix.game.id }} ${{ matrix.game.name }}
|
run: bash -x ./tools/build_appimage.sh ${{ matrix.game.id }} ${{ matrix.game.name }}
|
||||||
- name: Create continuous release
|
- name: Archive production artifacts
|
||||||
uses: ncipollo/release-action@v1
|
uses: actions/upload-artifact@v3
|
||||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
|
||||||
with:
|
with:
|
||||||
allowUpdates: true
|
name: ${{ matrix.game.id }}
|
||||||
artifacts: "*.AppImage*"
|
retention-days: 90
|
||||||
body: |
|
path: |
|
||||||
:heavy_check_mark: AppImage built from latest commit ([${{ github.sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }})).
|
*.AppImage
|
||||||
:scroll: Build log: https://github.com/${{ github.repository }}/commit/${{ github.sha }}/checks?check_suite_id=${{ github.run_id }}
|
|
||||||
commit: ${{ github.sha }}
|
# - name: Create continuous release
|
||||||
draft: false
|
# uses: ncipollo/release-action@v1
|
||||||
repo: ${{ matrix.game.id }}
|
# if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
||||||
name: master-builds
|
# with:
|
||||||
prerelease: true
|
# allowUpdates: true
|
||||||
removeArtifacts: false
|
# artifacts: "*.AppImage*"
|
||||||
replacesArtifacts: true
|
# body: |
|
||||||
skipIfReleaseExists: false
|
# :heavy_check_mark: AppImage built from latest commit ([${{ github.sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }})).
|
||||||
tag: continuous
|
# :scroll: Build log: https://github.com/${{ github.repository }}/commit/${{ github.sha }}/checks?check_suite_id=${{ github.run_id }}
|
||||||
token: "${{ secrets.GITHUB_TOKEN }}"
|
# commit: ${{ github.sha }}
|
||||||
|
# draft: false
|
||||||
|
# repo: ${{ matrix.game.id }}
|
||||||
|
# name: master-builds
|
||||||
|
# prerelease: true
|
||||||
|
# removeArtifacts: false
|
||||||
|
# replacesArtifacts: true
|
||||||
|
# skipIfReleaseExists: false
|
||||||
|
# tag: continuous
|
||||||
|
# token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
|
Loading…
Reference in a new issue