mirror of
https://github.com/ryojerryyu/obsidian-jessiecode.git
synced 2026-07-22 06:43:22 +00:00
chore: update GitHub Actions workflow to use action-gh-release for creating releases
This commit is contained in:
parent
fa9e7420cf
commit
5faa92fc5c
1 changed files with 9 additions and 8 deletions
17
.github/workflows/release.yml
vendored
17
.github/workflows/release.yml
vendored
|
|
@ -25,12 +25,13 @@ jobs:
|
|||
yarn build
|
||||
|
||||
- name: Create release
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
tag="${GITHUB_REF#refs/tags/}"
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
draft: false
|
||||
prerelease: false
|
||||
generate_release_notes: true
|
||||
files: |
|
||||
main.js
|
||||
manifest.json
|
||||
styles.css
|
||||
|
||||
gh release create "$tag" \
|
||||
--title="$tag" \
|
||||
--draft \
|
||||
main.js manifest.json styles.css
|
||||
|
|
|
|||
Loading…
Reference in a new issue