Skip to content

Commit

Permalink
again
Browse files Browse the repository at this point in the history
  • Loading branch information
UnknownShadow200 committed Apr 28, 2024
1 parent f73f453 commit 07ea047
Showing 1 changed file with 57 additions and 9 deletions.
66 changes: 57 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,26 @@ jobs:
# Download Linux artifacts
- name: Retrieve Linux binaries
run: |
wget https://cdn.classicube.net/client/latest/ClassiCube -O cc-nix64
wget https://cdn.classicube.net/client/latest/ClassiCube.32 -O cc-nix32
wget https://cdn.classicube.net/client/latest/ClassiCube -O cc-linux-64
wget https://cdn.classicube.net/client/latest/ClassiCube.32 -O cc-linux-32
# Download macOS artifacts
- name: Retrieve macOS binaries
run: |
wget https://cdn.classicube.net/client/latest/ClassiCube.64.osx -O cc-mac64
wget https://cdn.classicube.net/client/latest/ClassiCube.osx -O cc-mac32
wget https://cdn.classicube.net/client/latest/ClassiCube.64.osx -O cc-mac-64
wget https://cdn.classicube.net/client/latest/ClassiCube.osx -O cc-mac-32
# Download RPI artifacts
- name: Retrieve RPI binaries
run: |
wget https://cdn.classicube.net/client/latest/cc-rpi64 -O cc-rpi-64
wget https://cdn.classicube.net/client/latest/ClassiCube.rpi -O cc-rpi-32
# Download FreeBSD artifacts
- name: Retrieve macOS binaries
run: |
wget https://cdn.classicube.net/client/latest/cc-freebsd-64 -O cc-freebsd-64
wget https://cdn.classicube.net/client/latest/cc-freebsd-32 -O cc-freebsd-32
- name: Generate builds
id: compile
Expand All @@ -62,13 +74,21 @@ jobs:
rm ClassiCube/ClassiCube.exe
}
# Generate FreeBSD builds
make_unix_tar cc-freebsd32.tar.gz cc-freebsd-32
make_unix_tar cc-freebsd64.tar.gz cc-freebsd-64
# Generate RPI builds
make_unix_tar cc-rpi32.tar.gz cc-rpi-32
make_unix_tar cc-rpi64.tar.gz cc-rpi-64
# Generate Linux builds
make_unix_tar cc-linux32.tar.gz cc-nix32
make_unix_tar cc-linux64.tar.gz cc-nix64
make_unix_tar cc-linux32.tar.gz cc-linux-32
make_unix_tar cc-linux64.tar.gz cc-linux-64
# Generate macOS builds
make_unix_tar cc-mac32.tar.gz cc-mac32
make_unix_tar cc-mac64.tar.gz cc-mac64
make_unix_tar cc-mac32.tar.gz cc-mac-32
make_unix_tar cc-mac64.tar.gz cc-mac-64
# Generate Windows builds
make_windows_zip cc-win32.zip cc-w32.exe
Expand Down Expand Up @@ -121,4 +141,32 @@ jobs:
if: ${{ always() && steps.compile.outcome == 'success' }}
with:
SOURCE_FILE: 'cc-win64.zip'
DEST_NAME: 'cc-win64.zip'
DEST_NAME: 'cc-win64.zip'


# Generate RPI release files
- uses: ./.github/actions/upload_build
if: ${{ always() && steps.compile.outcome == 'success' }}
with:
SOURCE_FILE: 'cc-rpi32.tar.gz'
DEST_NAME: 'cc-rpi32.tar.gz'

- uses: ./.github/actions/upload_build
if: ${{ always() && steps.compile.outcome == 'success' }}
with:
SOURCE_FILE: 'cc-rpi64.tar.gz'
DEST_NAME: 'cc-rpi64.tar.gz'


# Generate FreeBSD release files
- uses: ./.github/actions/upload_build
if: ${{ always() && steps.compile.outcome == 'success' }}
with:
SOURCE_FILE: 'cc-freebsd32.tar.gz'
DEST_NAME: 'cc-freebsd32.tar.gz'

- uses: ./.github/actions/upload_build
if: ${{ always() && steps.compile.outcome == 'success' }}
with:
SOURCE_FILE: 'cc-freebsd64.tar.gz'
DEST_NAME: 'cc-freebsd64.tar.gz'

0 comments on commit 07ea047

Please sign in to comment.