Build: Update github runner - to ubuntu latest. #10
Workflow file for this run
This file contains hidden or 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: Post zipped game-headed assets to github releases | |
| on: | |
| push: | |
| branches: [master] | |
| jobs: | |
| build: | |
| name: zip and upload assets | |
| runs-on: Ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: set build version variables | |
| run: | | |
| BUILD_NUMBER=$((${{ github.run_number }} + 40)) | |
| echo "version=$BUILD_NUMBER" | tee -a $GITHUB_ENV | |
| - name: zip game-headed assets | |
| run: .build/zip_assets | |
| - name: Create Github Release | |
| uses: ncipollo/release-action@v1 | |
| with: | |
| artifacts: artifacts/* | |
| tag: ${{ env.version }} | |
| name: ${{ env.version }} | |
| prerelease: false | |
| commit: master | |
| token: ${{ secrets.GITHUB_TOKEN }} | |