Skip to content

Commit

Permalink
changed to wac from wac-cli for the gh commands (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinrp authored May 16, 2024
1 parent 5c86f02 commit 649988d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
- name: Login GH CLI
run: gh auth login --with-token < <(echo ${{ secrets.GITHUB_TOKEN }})
- name: Delete old dev release
run: gh release delete -R bytecodealliance/wac-cli dev -y || true
run: gh release delete -R bytecodealliance/wac dev -y || true
- name: Create new latest release
run: gh release create -R bytecodealliance/wac-cli dev --prerelease --notes "Published artifacts from the latest build"
run: gh release create -R bytecodealliance/wac dev --prerelease --notes "Published artifacts from the latest build"

publish_dev_release:
if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository == 'bytecodealliance/wac'
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
- name: Login GH CLI
shell: bash
run: gh auth login --with-token < <(echo ${{ secrets.GITHUB_TOKEN }})
- run: gh release upload -R bytecodealliance/wac-cli --clobber dev target/${{ matrix.rust-target }}/release/wac-cli-${{ matrix.rust-target }}
- run: gh release upload -R bytecodealliance/wac --clobber dev target/${{ matrix.rust-target }}/release/wac-cli-${{ matrix.rust-target }}

publish_tagged_release:
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository == 'bytecodealliance/wac'
Expand Down Expand Up @@ -100,4 +100,4 @@ jobs:
- name: Login GH CLI
shell: bash
run: gh auth login --with-token < <(echo ${{ secrets.GITHUB_TOKEN }})
- run: gh release upload -R bytecodealliance/wac-cli --clobber ${{ github.ref_name }} target/${{ matrix.rust-target }}/release/wac-cli-${{ matrix.rust-target }}
- run: gh release upload -R bytecodealliance/wac --clobber ${{ github.ref_name }} target/${{ matrix.rust-target }}/release/wac-cli-${{ matrix.rust-target }}

0 comments on commit 649988d

Please sign in to comment.