Skip to content

Commit

Permalink
Add release to R2 in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
yazninja authored Jun 7, 2024
1 parent 068d1b6 commit 88a96bc
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,13 @@ jobs:
dist/wuwa-tweaks-mac
dist/wuwa-tweaks-linux
tag_name: ${{startsWith(github.ref, 'refs/tags/') && github.ref || 'main'}}
- name: R2 Release
uses: randomairborne/[email protected]
with:
endpoint: ${{ R2_ENDPOINT }}
accesskeyid: ${{ R2_ID }}
secretaccesskey: ${{ R2_KEY }}
bucket: 'github-release'
file: 'wuwa-tweaks.exe'
destination: ${{ startsWith(github.ref, 'refs/tags/') && 'wuwa-tweaks.exe' || 'wuwa-tweaks-nightly.exe' }}

0 comments on commit 88a96bc

Please sign in to comment.