Skip to content

Commit

Permalink
fix: upload go releaser artifacts (#88)
Browse files Browse the repository at this point in the history
Signed-off-by: Keming <kemingyang@tensorchord.ai>
  • Loading branch information
kemingy authored Aug 1, 2023
1 parent 4c0bc39 commit ed138df
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ jobs:
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: upload gobin
uses: actions/upload-artifact@v3
with:
name: gobin_${{ github.event.release.tag_name }}
retention-days: 1
path: |
dist/mdz_linux_amd64_v1/mdz
if-no-files-found: error
pypi_publish:
needs: goreleaser
# only trigger on main repo when tag starts with v
Expand All @@ -56,7 +64,7 @@ jobs:
if: runner.os == 'Linux'
run: |
mkdir -p mdz/bin
mv dist/envd_linux_amd64_v1/mdz mdz/bin/mdz
mv dist/mdz_linux_amd64_v1/mdz mdz/bin/mdz
chmod +x mdz/bin/mdz
- name: Build wheels
uses: pypa/cibuildwheel@v2.14.1
Expand Down

0 comments on commit ed138df

Please sign in to comment.