i wanna sleeeepp
This commit is contained in:
parent
6e3bdddf81
commit
b4a512e8ac
1 changed files with 7 additions and 3 deletions
10
.github/workflows/desktop-build.yml
vendored
10
.github/workflows/desktop-build.yml
vendored
|
|
@ -64,7 +64,6 @@ jobs:
|
||||||
if: matrix.platform != 'windows'
|
if: matrix.platform != 'windows'
|
||||||
run: chmod +x release/${{ matrix.binary_dest }}
|
run: chmod +x release/${{ matrix.binary_dest }}
|
||||||
|
|
||||||
|
|
||||||
- name: Zip for R2 (Windows)
|
- name: Zip for R2 (Windows)
|
||||||
if: matrix.platform == 'windows'
|
if: matrix.platform == 'windows'
|
||||||
run: Compress-Archive -Path release/* -DestinationPath ${{ matrix.archive_name }} -Force
|
run: Compress-Archive -Path release/* -DestinationPath ${{ matrix.archive_name }} -Force
|
||||||
|
|
@ -77,6 +76,12 @@ jobs:
|
||||||
zip -r ../${{ matrix.archive_name }} .
|
zip -r ../${{ matrix.archive_name }} .
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
|
- name: Isolate Zip File
|
||||||
|
run: |
|
||||||
|
mkdir out_delivery
|
||||||
|
mv ${{ matrix.archive_name }} out_delivery/
|
||||||
|
shell: bash
|
||||||
|
|
||||||
- name: Upload to R2
|
- name: Upload to R2
|
||||||
uses: ryand56/r2-upload-action@latest
|
uses: ryand56/r2-upload-action@latest
|
||||||
with:
|
with:
|
||||||
|
|
@ -84,8 +89,7 @@ jobs:
|
||||||
r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }}
|
r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }}
|
||||||
r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }}
|
r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }}
|
||||||
r2-bucket: ${{ secrets.R2_BUCKET }}
|
r2-bucket: ${{ secrets.R2_BUCKET }}
|
||||||
source-dir: '.'
|
source-dir: 'out_delivery'
|
||||||
include: '${{ matrix.archive_name }}'
|
|
||||||
destination-dir: ''
|
destination-dir: ''
|
||||||
|
|
||||||
- name: Upload Artifact (GH Internal)
|
- name: Upload Artifact (GH Internal)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue