Merge pull request #517 from Wargus/clean_up_missile #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: AppImage Continuous | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
game: [{id: wargus, name: Wargus}, {id: war1gus, name: War1gus}] | |
name: Linux x64_64 (Continuous) | |
runs-on: ubuntu-20.04 | |
container: centos:7 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build game ${{ matrix.game.id }} | |
run: bash -x ./tools/build_appimage.sh ${{ matrix.game.id }} ${{ matrix.game.name }} | |
- name: Archive production artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ matrix.game.id }} | |
retention-days: 90 | |
path: | | |
*.AppImage | |
# - name: Create continuous release | |
# uses: ncipollo/release-action@v1 | |
# if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} | |
# with: | |
# allowUpdates: true | |
# artifacts: "*.AppImage*" | |
# body: | | |
# :heavy_check_mark: AppImage built from latest commit ([${{ github.sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }})). | |
# :scroll: Build log: https://github.com/${{ github.repository }}/commit/${{ github.sha }}/checks?check_suite_id=${{ github.run_id }} | |
# 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 }}" |