Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
988822ed54 | |||
aa04c0421e | |||
1f06823b3b | |||
7c13cdc168 | |||
0f8c4c71a8 | |||
90e2dd73cd |
19
.github/workflows/release.yml
vendored
19
.github/workflows/release.yml
vendored
@@ -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' }}
|
||||
|
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