Skip to content

Commit

Permalink
Remove Transfer.sh uploads
Browse files Browse the repository at this point in the history
Seems that transfer.sh is dead
  • Loading branch information
Ravbug authored Jan 1, 2024
1 parent 72a44da commit b45528f
Showing 1 changed file with 4 additions and 30 deletions.
34 changes: 4 additions & 30 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,7 @@ jobs:
with:
name: RavEngine_Samples_linux64
path: build/linux/Release/*.AppImage
- name: Prepare Transfer upload
run: cd build/linux/Release ; zip -r -9 Samples.zip *.AppImage
- name: Upload to Transfer.sh
run: URL=`curl --upload-file build/linux/Release/Samples.zip https://transfer.sh/RavEngine_Samples_linux.zip` ; echo "::notice file=.github/workflows/build.yml::$URL" | sed "s/.sh/.sh\/get/g"


build-linux-arm:
name: Build Samples for Linux arm64
runs-on: ubuntu-latest
Expand Down Expand Up @@ -80,11 +76,7 @@ jobs:
with:
name: RavEngine_Samples_linuxARM
path: build/linuxarm/Release/*.AppImage
- name: Prepare Transfer upload
run: cd build/linuxarm/Release ; zip -r -9 Samples.zip *.AppImage
- name: Upload to Transfer.sh
run: URL=`curl --upload-file build/linuxarm/Release/Samples.zip https://transfer.sh/RavEngine_Samples_linuxARM.zip` ; echo "::notice file=.github/workflows/build.yml::$URL" | sed "s/.sh/.sh\/get/g"


build-emscripten:
name: Build samples for Emscripten-Linux
runs-on: ubuntu-latest
Expand All @@ -111,11 +103,7 @@ jobs:
build/Release/*.html
build/Release/*.wasm
build/Release/*.data
- name: Prepare Transfer upload
run: cd build/Release ; zip -r -9 Samples.zip *.js *.html *.wasm *.data
- name: Upload to Transfer.sh
run: URL=`curl --upload-file build/Release/Samples.zip https://transfer.sh/RavEngine_Samples_Web.zip` ; echo "::notice file=.github/workflows/build.yml::$URL" | sed "s/.sh/.sh\/get/g"

build-apple:
name: Build Samples for Apple Platforms (unsigned)
runs-on: macos-latest
Expand Down Expand Up @@ -153,9 +141,7 @@ jobs:
with:
name: RavEngine_Samples_Apple_${{ matrix.platform }}
path: build/RavEngine_Samples_Apple_${{ matrix.platform }}.dmg
- name: Upload to Transfer.sh
run: URL=`curl --upload-file build/RavEngine_Samples_Apple_${{ matrix.platform }}.dmg https://transfer.sh/RavEngine_Samples_Apple_${{ matrix.platform }}.dmg` ; echo "::notice file=.github/workflows/build.yml::$URL" | sed "s/.sh/.sh\/get/g"


build-windows:
name: Build samples for Windows
runs-on: windows-latest
Expand Down Expand Up @@ -187,11 +173,6 @@ jobs:
build\win\release\RavEngine*.exe
build\win\release\RavEngine*.rvedata
build\win\release\RavEngine*Streaming\*
- name: Prepare Transfer.sh upload
run: Compress-Archive -Path build\win\release\*.exe,build\win\release\*.rvedata,build\win\release\*Streaming\ -DestinationPath Samples${{ matrix.arch }}.zip
- name: Upload to Transfer.sh
run: $URL = Invoke-RestMethod -Uri https://transfer.sh/RavEngine_Samples_Win${{ matrix.arch }}.zip -Method PUT -InFile Samples${{ matrix.arch }}.zip -UseDefaultCredentials ; echo "::notice file=.github/workflows/build.yml::$URL" | %{$_ -replace ".sh",".sh/get"}

build-uwp:
name: Build samples for UWP
runs-on: windows-latest
Expand Down Expand Up @@ -224,10 +205,3 @@ jobs:
with:
name: RavEngine_Samples_${{ matrix.sdk }}_${{ matrix.arch }}
path: build\uwp\AppPackages
- name: Prepare Transfer.sh upload
run: |
Move-Item -Path build\uwp\AppPackages\ -Destination .
Remove-Item -Path build -Recurse
Compress-Archive -Path AppPackages\ -DestinationPath Samples${{ matrix.sdk }}_${{ matrix.arch }}.zip
- name: Upload to Transfer.sh
run: $URL = Invoke-RestMethod -Uri https://transfer.sh/RavEngine_Samples_${{ matrix.sdk }}_${{ matrix.arch }}.zip -Method PUT -InFile Samples${{ matrix.sdk }}_${{ matrix.arch }}.zip -UseDefaultCredentials ; echo "::notice file=.github/workflows/build.yml::$URL" | %{$_ -replace ".sh",".sh/get"}

0 comments on commit b45528f

Please sign in to comment.