5 Commits

Author SHA1 Message Date
aa04c0421e add configuration suffixes to tar files
Some checks failed
/ release (1.85.0, Debug, map[name:macos path-separator:: scons-script:./.github/workflows/scripts/mac/scons-build.sh version:12], 2.6.1) (push) Has been cancelled
/ release (1.85.0, Debug, map[name:ubuntu path-separator:: scons-script:scons version:22.04], 2.6.1) (push) Failing after 1m47s
/ release (1.85.0, Debug, map[name:windows path-separator:; scons-script:./.github/workflows/scripts/win/scons-build.bat version:2019], 2.6.1) (push) Has been cancelled
/ release (1.85.0, Release, map[name:macos path-separator:: scons-script:./.github/workflows/scripts/mac/scons-build.sh version:12], 2.6.1) (push) Has been cancelled
/ release (1.85.0, Release, map[name:ubuntu path-separator:: scons-script:scons version:22.04], 2.6.1) (push) Failing after 1m44s
/ release (1.85.0, Release, map[name:windows path-separator:; scons-script:./.github/workflows/scripts/win/scons-build.bat version:2019], 2.6.1) (push) Has been cancelled
2024-08-10 19:34:21 -05:00
1f06823b3b use bash
Some checks failed
/ release (1.85.0, Debug, map[name:macos path-separator:: scons-script:./.github/workflows/scripts/mac/scons-build.sh version:12], 2.6.1) (push) Has been cancelled
/ release (1.85.0, Debug, map[name:windows path-separator:; scons-script:./.github/workflows/scripts/win/scons-build.bat version:2019], 2.6.1) (push) Has been cancelled
/ release (1.85.0, Debug, map[name:ubuntu path-separator:: scons-script:scons version:22.04], 2.6.1) (push) Has been cancelled
/ release (1.85.0, Release, map[name:macos path-separator:: scons-script:./.github/workflows/scripts/mac/scons-build.sh version:12], 2.6.1) (push) Has been cancelled
/ release (1.85.0, Release, map[name:ubuntu path-separator:: scons-script:scons version:22.04], 2.6.1) (push) Has started running
/ release (1.85.0, Release, map[name:windows path-separator:; scons-script:./.github/workflows/scripts/win/scons-build.bat version:2019], 2.6.1) (push) Has been cancelled
2024-08-10 19:27:46 -05:00
7c13cdc168 fix path quotes 2024-08-10 19:26:15 -05:00
0f8c4c71a8 add tags to the thing
Some checks failed
/ release (1.85.0, Debug, map[name:macos path-separator:: scons-script:./.github/workflows/scripts/mac/scons-build.sh version:12], 2.6.1) (push) Has been cancelled
/ release (1.85.0, Debug, map[name:windows path-separator:; scons-script:./.github/workflows/scripts/win/scons-build.bat version:2019], 2.6.1) (push) Has been cancelled
/ release (1.85.0, Release, map[name:macos path-separator:: scons-script:./.github/workflows/scripts/mac/scons-build.sh version:12], 2.6.1) (push) Has been cancelled
/ release (1.85.0, Release, map[name:ubuntu path-separator:: scons-script:scons version:22.04], 2.6.1) (push) Has started running
/ release (1.85.0, Release, map[name:windows path-separator:; scons-script:./.github/workflows/scripts/win/scons-build.bat version:2019], 2.6.1) (push) Has been cancelled
/ release (1.85.0, Debug, map[name:ubuntu path-separator:: scons-script:scons version:22.04], 2.6.1) (push) Has been cancelled
2024-08-10 18:23:45 -05:00
90e2dd73cd add blank line 2024-08-10 13:21:00 -05:00
2 changed files with 13 additions and 8 deletions

View File

@@ -1,8 +1,12 @@
on:
push:
branches: [ builds ]
branches:
- builds
tags:
- "v*.*.*"
pull_request:
branches: [ builds ]
branches:
- builds
jobs:
release:
env:
@@ -114,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' }}

View File

@@ -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}