Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| aa04c0421e | |||
| 1f06823b3b | |||
| 7c13cdc168 |
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
@@ -118,18 +118,19 @@ jobs:
|
||||
run: './.github/workflows/scripts/mac/sign-apps.sh'
|
||||
if: ${{ matrix.os.name == 'macos' }}
|
||||
- name: 'Tar files'
|
||||
run: 'tar -cvf cboe-${{ matrix.os.name }}.tar "Blades of Exile"'
|
||||
run: 'tar -cvf cboe-${{ matrix.os.name }}-${{ matrix.configuration }}.tar "Blades of Exile"'
|
||||
working-directory: '${{ github.workspace }}/build'
|
||||
- name: 'Upload Artifact'
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: cboe-${{ matrix.os.name }}-${{ matrix.configuration }}
|
||||
path: '${{ github.workspace }}/build/cboe-${{ matrix.os.name }}.tar'
|
||||
path: '${{ github.workspace }}/build/cboe-${{ matrix.os.name }-${{ matrix.configuration }}}.tar'
|
||||
- name: Github release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
files: '${{ github.workspace }}/build/cboe-${{ matrix.os.name }}.tar'
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
files: '${{ github.workspace }}/build/cboe-${{ matrix.os.name }-${{ matrix.configuration }}}.tar'
|
||||
if: ${{ startsWith(github.ref, 'refs/tags/') }}
|
||||
- name: 'Itch.io release'
|
||||
run: './.github/workflows/scripts/butler_push.sh'
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
shell: bash
|
||||
if: ${{ startsWith(github.ref, 'refs/tags/') && matrix.configuration == 'Release' }}
|
||||
|
||||
2
.github/workflows/scripts/butler_push.sh
vendored
2
.github/workflows/scripts/butler_push.sh
vendored
@@ -25,4 +25,4 @@ unzip butler.zip
|
||||
chmod +x ${butler_exe}
|
||||
# just a sanity check run (and also helpful in case you're sharing CI logs)
|
||||
./${butler_exe} -V
|
||||
./${butler_exe} push build/Blades of Exile/ nqn/blades-of-exile:${butler_channel}
|
||||
./${butler_exe} push "build/Blades of Exile/" nqn/blades-of-exile:${butler_channel}
|
||||
|
||||
Reference in New Issue
Block a user