Skip to content

Commit

Permalink
Make workflows more consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
UnknownShadow200 committed Apr 27, 2024
1 parent e013bb9 commit c219b15
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 7 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/build_ios.yml
Expand Up @@ -31,4 +31,11 @@ jobs:
if: ${{ always() && steps.compile.outcome == 'success' }}
with:
SOURCE_FILE: 'ios/build/Release-iphoneos/cc.ipa'
DEST_NAME: 'cc.ipa'
DEST_NAME: 'cc.ipa'


- uses: ./.github/actions/notify_success
if: ${{ always() && steps.compile.outcome == 'success' }}
with:
DESTINATION_URL: '${{ secrets.NOTIFY_URL }}'
WORKFLOW_NAME: 'ios'
4 changes: 2 additions & 2 deletions .github/workflows/build_linux.yml
Expand Up @@ -45,7 +45,7 @@ jobs:
if: ${{ always() && steps.compile.outcome == 'success' }}
with:
SOURCE_FILE: 'src/cc-nix32-gl1'
DEST_NAME: 'ClassiCube-Linux32'
DEST_NAME: 'ClassiCube-Linux32-OpenGL'

- uses: ./.github/actions/upload_build
if: ${{ always() && steps.compile.outcome == 'success' }}
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
if: ${{ always() && steps.compile.outcome == 'success' }}
with:
SOURCE_FILE: 'src/cc-nix64-gl1'
DEST_NAME: 'ClassiCube-Linux64'
DEST_NAME: 'ClassiCube-Linux64-OpenGL'

- uses: ./.github/actions/upload_build
if: ${{ always() && steps.compile.outcome == 'success' }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build_n64.yml
Expand Up @@ -16,6 +16,7 @@ jobs:
- name: Compile N64 build
id: compile
run: |
apt-get update
apt-get -y install curl
REAL_DIR=`pwd`
cd /tmp
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build_ps3.yml
Expand Up @@ -16,6 +16,7 @@ jobs:
- name: Compile PS3 build
id: compile
run: |
apt-get update
apt-get install -y curl
export PS3DEV=/usr/local/ps3dev
export PSL1GHT=/usr/local/ps3dev
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/build_wiiu.yml
Expand Up @@ -42,4 +42,11 @@ jobs:
if: ${{ always() && steps.compile.outcome == 'success' }}
with:
SOURCE_FILE: 'ClassiCube-wiiu.elf'
DEST_NAME: 'ClassiCube-wiiu.elf'
DEST_NAME: 'ClassiCube-wiiu.elf'


- uses: ./.github/actions/notify_success
if: ${{ always() && steps.compile.outcome == 'success' }}
with:
DESTINATION_URL: '${{ secrets.NOTIFY_URL }}'
WORKFLOW_NAME: 'wiiu'
4 changes: 2 additions & 2 deletions .github/workflows/build_windows.yml
Expand Up @@ -45,7 +45,7 @@ jobs:
if: ${{ always() && steps.compile.outcome == 'success' }}
with:
SOURCE_FILE: 'src/cc-w32-d3d9.exe'
DEST_NAME: 'ClassiCube-Win32.exe'
DEST_NAME: 'ClassiCube-Win32-Direct3D9.exe'

- uses: ./.github/actions/upload_build
if: ${{ always() && steps.compile.outcome == 'success' }}
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
if: ${{ always() && steps.compile.outcome == 'success' }}
with:
SOURCE_FILE: 'src/cc-w64-d3d9.exe'
DEST_NAME: 'ClassiCube-Win64.exe'
DEST_NAME: 'ClassiCube-Win64-Direct3D9.exe'

- uses: ./.github/actions/upload_build
if: ${{ always() && steps.compile.outcome == 'success' }}
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/build_xbox360.yml
Expand Up @@ -46,4 +46,11 @@ jobs:
if: ${{ always() && steps.compile.outcome == 'success' }}
with:
SOURCE_FILE: 'ClassiCube-xbox360.elf32'
DEST_NAME: 'ClassiCube-xbox360.elf32'
DEST_NAME: 'ClassiCube-xbox360.elf32'


- uses: ./.github/actions/notify_success
if: ${{ always() && steps.compile.outcome == 'success' }}
with:
DESTINATION_URL: '${{ secrets.NOTIFY_URL }}'
WORKFLOW_NAME: 'xbox360'

0 comments on commit c219b15

Please sign in to comment.