mirror of
https://github.com/HarbourMasters/2ship2harkinian.git
synced 2024-11-27 00:00:32 +00:00
Temporarily send artifacts to r2 (#391)
This commit is contained in:
parent
14f293e15a
commit
5a5fc3b86f
23
.github/workflows/main.yml
vendored
23
.github/workflows/main.yml
vendored
@ -148,12 +148,23 @@ jobs:
|
||||
|
||||
(cd build-windows && cpack)
|
||||
cd ..
|
||||
mv _packages/*.zip 2ship-windows.zip
|
||||
- name: Unzip package
|
||||
run: Expand-Archive -Path 2ship-windows.zip -DestinationPath 2ship-windows
|
||||
mv _packages/*.zip _packages/2ship-windows.zip
|
||||
# Temporarily replaced with an upload to R2 until we go public
|
||||
# - name: Unzip package
|
||||
# run: Expand-Archive -Path 2ship-windows.zip -DestinationPath 2ship-windows
|
||||
# - name: Upload build
|
||||
# if: ${{ startsWith(github.ref, 'refs/heads/develop') }}
|
||||
# uses: actions/upload-artifact@v4
|
||||
# with:
|
||||
# name: 2ship-windows
|
||||
# path: 2ship-windows
|
||||
- name: Upload build
|
||||
if: ${{ startsWith(github.ref, 'refs/heads/develop') }}
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: ryand56/r2-upload-action@latest
|
||||
with:
|
||||
name: 2ship-windows
|
||||
path: 2ship-windows
|
||||
r2-account-id: ${{ secrets.R2_ACCOUNT_ID }}
|
||||
r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }}
|
||||
r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }}
|
||||
r2-bucket: ${{ secrets.R2_BUCKET }}
|
||||
source-dir: _packages
|
||||
destination-dir: 2ship
|
||||
|
Loading…
Reference in New Issue
Block a user