Skip to content

Commit

Permalink
fix artifacts and set-output
Browse files Browse the repository at this point in the history
  • Loading branch information
almarklein committed Sep 5, 2024
1 parent f83a6e4 commit 3923e53
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,20 +129,19 @@ jobs:
uses: actions/download-artifact@v4
with:
path: dist
- name: Get version from git ref
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- name: Set version from git ref
run: echo "WGPU_PY_VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
- name: Upload Release Assets
uses: softprops/action-gh-release@v2
with:
files: 'dist/*.tar.gz;dist/*.whl'
tag_name: ${{ steps.get_version.outputs.VERSION }}
name: ${{ steps.get_version.outputs.VERSION }}
files: 'dist/**/*.tar.gz;dist/**/*.whl'
tag_name: ${{ env.WGPU_PY_VERSION }}
name: ${{ env.WGPU_PY_VERSION }}
token: ${{ secrets.GITHUB_TOKEN }}
body: |
Autogenerated binary wheels that include wgpu-native.
See [the changelog](https://github.com/pygfx/wgpu-py/blob/main/CHANGELOG.md) for details.
draft: false
draft: true
prerelease: false
# - name: Publish to PyPI
# uses: pypa/gh-action-pypi-publish@v1
Expand Down

0 comments on commit 3923e53

Please sign in to comment.