Replace AwaitingUpload logic with cantool and uploading check (#3397) #341
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: Deploy Canary to Workshop | |
| on: | |
| push: | |
| branches: [ master ] | |
| workflow_dispatch: | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@master | |
| - name: Embed version | |
| run: | | |
| echo -e "\nversion = $(date +%y%m%d)\nversion_string = \"Canary $(date +%Y.%m.%d) (${GITHUB_SHA:0:7})\"" >> lua/wire/server/wirelib.lua | |
| - uses: wiremod/gmod-upload@master | |
| with: | |
| id: 3066780663 | |
| changelog: ${{ github.event.head_commit.message }} | |
| env: | |
| STEAM_USERNAME: ${{ secrets.WIRETEAM_WORKSHOP_USERNAME }} | |
| STEAM_PASSWORD: ${{ secrets.WIRETEAM_WORKSHOP_PASSWORD }} |