correctly upload artifacts
This commit is contained in:
parent
8081eb60d4
commit
9536e025aa
1 changed files with 4 additions and 1 deletions
5
.github/workflows/native-build.yml
vendored
5
.github/workflows/native-build.yml
vendored
|
|
@ -6,6 +6,9 @@ on:
|
||||||
tag:
|
tag:
|
||||||
required: true
|
required: true
|
||||||
description: "Ref to build from (e.g. v1.0.0)"
|
description: "Ref to build from (e.g. v1.0.0)"
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- "v*"
|
||||||
|
|
||||||
env:
|
env:
|
||||||
PYTHON_VERSION: 3.11
|
PYTHON_VERSION: 3.11
|
||||||
|
|
@ -101,7 +104,7 @@ jobs:
|
||||||
path: dist/*
|
path: dist/*
|
||||||
|
|
||||||
- name: Upload to GitHub Release
|
- name: Upload to GitHub Release
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.event.inputs.tag, 'v')
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ github.event.inputs.tag }}
|
tag_name: ${{ github.event.inputs.tag }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue