Skip to content

Commit

Permalink
Fix release ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Saverio976 committed Feb 7, 2024
1 parent 9772c11 commit 48e12f4
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,15 @@ jobs:
- name: Compil
run: ./deps/v-master/v run ./scripts/build.vsh --static

- name: Mv
run: mv ./dg ./dg-linux

- name: Upload To Release
if: github.ref == 'refs/heads/main'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release upload ${{ needs.release-create.outputs.release }} "./dg#dg-linux"
gh release upload ${{ needs.release-create.outputs.release }} "./dg-linux"
release-macos:
runs-on: macos-latest
Expand All @@ -89,9 +92,12 @@ jobs:
- name: Compil
run: ./deps/v-master/v run ./scripts/build.vsh

- name: Mv
run: mv ./dg ./dg-macos

- name: Upload To Release
if: github.ref == 'refs/heads/main'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release upload ${{ needs.release-create.outputs.release }} "./dg#dg-macos"
gh release upload ${{ needs.release-create.outputs.release }} "./dg-macos"

0 comments on commit 48e12f4

Please sign in to comment.