Skip to content

Commit

Permalink
[ci] Add release to workflow(6).
Browse files Browse the repository at this point in the history
  • Loading branch information
antonioginer committed Feb 5, 2024
1 parent d44f5ca commit e0fb37d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,17 @@ jobs:
needs: [buildx86_64, win32-build-x86_64-geometry]
if: startsWith(github.ref, 'refs/tags/v')
steps:
- name: Get version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}
- name: Download artifacts
uses: actions/[email protected]
- name: Create release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
name: Switchres ${{ GITHUB_REF#refs/*/ }}
name: Switchres ${{ steps.get_version.outputs.VERSION }}
draft: true
prerelease: false
files: |
Expand Down

0 comments on commit e0fb37d

Please sign in to comment.