mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
ci: testing upload to discord
This commit is contained in:
parent
ee4639e041
commit
a9c976aace
1 changed files with 7 additions and 17 deletions
24
.github/workflows/build.yml
vendored
24
.github/workflows/build.yml
vendored
|
@ -22,16 +22,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
node-version: 20.18.0
|
node-version: 20.18.0
|
||||||
|
|
||||||
- name: Configure AWS credentials
|
|
||||||
uses: aws-actions/configure-aws-credentials@v2
|
|
||||||
with:
|
|
||||||
aws-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }}
|
|
||||||
aws-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }}
|
|
||||||
aws-region: ${{ env.AWS_REGION }}
|
|
||||||
|
|
||||||
- name: Push build to R2
|
|
||||||
run: aws s3 sync ./docs s3://${{ vars.BUILDS_BUCKET_NAME }}
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn
|
run: yarn
|
||||||
|
|
||||||
|
@ -77,11 +67,11 @@ jobs:
|
||||||
name: Build-${{ matrix.os }}
|
name: Build-${{ matrix.os }}
|
||||||
path: |
|
path: |
|
||||||
dist/*-portable.exe
|
dist/*-portable.exe
|
||||||
dist/*.zip
|
|
||||||
dist/*.dmg
|
|
||||||
dist/*.deb
|
dist/*.deb
|
||||||
dist/*.rpm
|
|
||||||
dist/*.tar.gz
|
- name: Upload build to Discord
|
||||||
dist/*.yml
|
uses: sinshutu/upload-to-discord@master
|
||||||
dist/*.blockmap
|
env:
|
||||||
dist/*.pacman
|
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
||||||
|
with:
|
||||||
|
args: ./dist/*-portable.exe ./dist/*.deb
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue