From c219b15e8473b6bf96c40ac7c225885b3fb80954 Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Sun, 28 Apr 2024 09:40:27 +1000 Subject: [PATCH] Make workflows more consistent --- .github/workflows/build_ios.yml | 9 ++++++++- .github/workflows/build_linux.yml | 4 ++-- .github/workflows/build_n64.yml | 1 + .github/workflows/build_ps3.yml | 1 + .github/workflows/build_wiiu.yml | 9 ++++++++- .github/workflows/build_windows.yml | 4 ++-- .github/workflows/build_xbox360.yml | 9 ++++++++- 7 files changed, 30 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build_ios.yml b/.github/workflows/build_ios.yml index e0605d519..45417daab 100644 --- a/.github/workflows/build_ios.yml +++ b/.github/workflows/build_ios.yml @@ -31,4 +31,11 @@ jobs: if: ${{ always() && steps.compile.outcome == 'success' }} with: SOURCE_FILE: 'ios/build/Release-iphoneos/cc.ipa' - DEST_NAME: 'cc.ipa' \ No newline at end of file + DEST_NAME: 'cc.ipa' + + + - uses: ./.github/actions/notify_success + if: ${{ always() && steps.compile.outcome == 'success' }} + with: + DESTINATION_URL: '${{ secrets.NOTIFY_URL }}' + WORKFLOW_NAME: 'ios' \ No newline at end of file diff --git a/.github/workflows/build_linux.yml b/.github/workflows/build_linux.yml index bc72f4b68..d81af37f5 100644 --- a/.github/workflows/build_linux.yml +++ b/.github/workflows/build_linux.yml @@ -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' }} @@ -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' }} diff --git a/.github/workflows/build_n64.yml b/.github/workflows/build_n64.yml index 3c3eb21a6..3ba69268b 100644 --- a/.github/workflows/build_n64.yml +++ b/.github/workflows/build_n64.yml @@ -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 diff --git a/.github/workflows/build_ps3.yml b/.github/workflows/build_ps3.yml index a36287fb6..b0f4ddb75 100644 --- a/.github/workflows/build_ps3.yml +++ b/.github/workflows/build_ps3.yml @@ -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 diff --git a/.github/workflows/build_wiiu.yml b/.github/workflows/build_wiiu.yml index 69c26c631..e225d7a59 100644 --- a/.github/workflows/build_wiiu.yml +++ b/.github/workflows/build_wiiu.yml @@ -42,4 +42,11 @@ jobs: if: ${{ always() && steps.compile.outcome == 'success' }} with: SOURCE_FILE: 'ClassiCube-wiiu.elf' - DEST_NAME: 'ClassiCube-wiiu.elf' \ No newline at end of file + 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' \ No newline at end of file diff --git a/.github/workflows/build_windows.yml b/.github/workflows/build_windows.yml index 83d442d35..cc14cfe70 100644 --- a/.github/workflows/build_windows.yml +++ b/.github/workflows/build_windows.yml @@ -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' }} @@ -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' }} diff --git a/.github/workflows/build_xbox360.yml b/.github/workflows/build_xbox360.yml index 6ba89c4e2..9d311204e 100644 --- a/.github/workflows/build_xbox360.yml +++ b/.github/workflows/build_xbox360.yml @@ -46,4 +46,11 @@ jobs: if: ${{ always() && steps.compile.outcome == 'success' }} with: SOURCE_FILE: 'ClassiCube-xbox360.elf32' - DEST_NAME: 'ClassiCube-xbox360.elf32' \ No newline at end of file + 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' \ No newline at end of file