upload in build step
This commit is contained in:
parent
a01292b274
commit
54046c883c
1 changed files with 8 additions and 8 deletions
16
.github/workflows/release.yml
vendored
16
.github/workflows/release.yml
vendored
|
|
@ -19,14 +19,6 @@ jobs:
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: gh release create latest --notes "latest release"
|
run: gh release create latest --notes "latest release"
|
||||||
- name: create versioned release
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
run: gh release create v${{ github.run_number }} --notes "Release ${{ github.run_number }}"
|
|
||||||
- name: Upload Release Asset
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
run: gh release upload latest dist/
|
|
||||||
release:
|
release:
|
||||||
needs: setup
|
needs: setup
|
||||||
strategy:
|
strategy:
|
||||||
|
|
@ -49,3 +41,11 @@ jobs:
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: gh release upload ${{ github.run_number }} dist/
|
run: gh release upload ${{ github.run_number }} dist/
|
||||||
|
- name: create versioned release
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
run: gh release create v${{ github.run_number }} --notes "Release ${{ github.run_number }}"
|
||||||
|
- name: Upload Release Asset
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
run: gh release upload latest dist/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue