File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,20 +28,22 @@ jobs:
2828 - name : Maven Build
2929 run : mvn clean install -Pnative
3030 - name : Download itch.io Butler
31- run : curl -L -o butler.zip https://broth.itch.ovh/butler/linux -amd64/LATEST/archive/default
31+ run : curl -L -o butler.zip https://broth.itch.ovh/butler/windows -amd64/LATEST/archive/default
3232 - name : Unzip itch.io Butler
3333 run : unzip butler.zip
3434 - name : Make Executable
3535 run : chmod +x butler
36+ - name : list directory
37+ run : dir
3638 - name : Create release Folder
3739 run : mkdir nibbles-clone-v${{github.event.inputs.git-tag}}
3840 - name : Copy Assets to release Folder
3941 run : Copy-Item -Path "D:\a\nibbles-clone\nibbles-clone\data\*" -Destination "D:\a\nibbles-clone\nibbles-clone\nibbles-clone-v${{github.event.inputs.git-tag}}" -Recurse
4042 - name : Copy Binaries to release Folder
4143 run : Copy-Item "D:\a\nibbles-clone\nibbles-clone\target\nibbles-clone.exe" -Destination "D:\a\nibbles-clone\nibbles-clone\nibbles-clone-v${{github.event.inputs.git-tag}}"
4244 - name : Zip release folder
43- run : Compress-Archive -Path "D:\a\nibbles-clone\nibbles-clone\nibbles-clone-v${{github.event.inputs.git-tag}}" -Destination "" D:\a\nibbles-clone\nibbles-clone\nipples-cone -v${{github.event.inputs.git-tag}}.zip"
44- - name : Test Ls
45- run : ls
46- - name : l2
47- run : ls .\ nibbles-clone-v ${{github.event.inputs.git-tag}}\
45+ run : Compress-Archive -Path "D:\a\nibbles-clone\nibbles-clone\nibbles-clone-v${{github.event.inputs.git-tag}}" -Destination "D:\a\nibbles-clone\nibbles-clone\nipples-clone -v${{github.event.inputs.git-tag}}.zip"
46+ - name : Deploy to itch.io
47+ env :
48+ BUTLER_API_KEY : ${{secrets.BUTLER_API_KEY}}
49+ run : butler push nipples-clone-v${{github.event.inputs.git-tag}}.zip mwttg/ nibbles-clone:win --userversion ${{github.event.inputs.git-tag}}
You can’t perform that action at this time.
0 commit comments