Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
Allow us to release on dev branch
  • Loading branch information
juntao authored Oct 12, 2024
1 parent 267ade1 commit 109350a
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@ jobs:
- name: Upload Dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.MOLY_RELEASE }}
run: |
cd dist/
gh release upload ${{ github.event.inputs.release_tags }} moxin_*.deb --clobber
gh release upload ${{ github.event.inputs.release_tags }} moxin_*.tar.gz --clobber
gh release upload ${{ github.event.inputs.release_tags }} moxin_*.AppImage --clobber
gh release upload ${{ github.event.inputs.release_tags }} moly_*.deb --clobber
gh release upload ${{ github.event.inputs.release_tags }} moly_*.tar.gz --clobber
gh release upload ${{ github.event.inputs.release_tags }} moly_*.AppImage --clobber
build_macos:
name: MacOS
Expand Down Expand Up @@ -106,10 +106,10 @@ jobs:
- name: Upload Dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.MOLY_RELEASE }}
run: |
cd dist/
gh release upload ${{ github.event.inputs.release_tags }} Moxin_*.dmg --clobber
gh release upload ${{ github.event.inputs.release_tags }} Moly_*.dmg --clobber
build_windows:
name: Windows
Expand Down Expand Up @@ -155,9 +155,8 @@ jobs:
ls dist/
- name: Upload Dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.MOLY_RELEASE }}
run: |
cd dist/
$file=Get-ChildItem -Filter *.exe
gh release upload ${{ github.event.inputs.release_tags }} $file.name --clobber

0 comments on commit 109350a

Please sign in to comment.