File tree Expand file tree Collapse file tree 3 files changed +30
-1
lines changed
Expand file tree Collapse file tree 3 files changed +30
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Package Game
2+ env :
3+ GH_TOKEN : ${{ github.token }}
4+
5+ on :
6+ workflow_dispatch : {}
7+ push :
8+ branches :
9+ - ' master'
10+
11+ jobs :
12+ build-linux :
13+
14+ runs-on : ubuntu-latest
15+
16+ steps :
17+ - name : Check-out repository
18+ uses : actions/checkout@v3
19+ with :
20+ path : " ./Game/Data"
21+ - name : install dep and finishing up
22+ run : |
23+ cd Game/Data/
24+ revision="$(git rev-parse --short HEAD)"
25+ echo $revision
26+ gh release create Dev-$revision --generate-notes --latest
27+
Original file line number Diff line number Diff line change 5151 cp ./OfMiceAndMechs-Linux.tar.gz Game/Data/
5252 cd Game/Data/
5353 revision="$(git rev-parse --short HEAD)"
54- gh release create Dev-$revision ./OfMiceAndMechs-Linux.tar.gz --generate-notes --latest || gh release upload Dev-$revision ./OfMiceAndMechs-Linux.tar.gz
54+ echo $revision
55+ gh release upload Dev-$revision ./OfMiceAndMechs-Linux.tar.gz
5556
Original file line number Diff line number Diff line change 4444 Set-Location -Path ./Game/Data
4545 Set-Variable -Name "s" -Value (git rev-parse --short HEAD)
4646 $s = "Dev-"+$s
47+ echo $s
4748 gh release upload $s ./OfMiceAndMechs-Win.zip
You can’t perform that action at this time.
0 commit comments