mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-15 16:33:02 -03:00
chore: add tag_name to release ci
This commit is contained in:
9
.github/workflows/lint.yml
vendored
9
.github/workflows/lint.yml
vendored
@@ -33,12 +33,3 @@ jobs:
|
||||
|
||||
- name: Format check
|
||||
run: yarn format-check
|
||||
|
||||
- name: test action
|
||||
id: get-version
|
||||
uses: beaconbrigade/package-json-version@v0.3.2
|
||||
with:
|
||||
path: .
|
||||
|
||||
- name: Print the version
|
||||
run: echo "The version was ${{ steps.get-version.outputs.version }}"
|
||||
|
||||
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
@@ -100,9 +100,16 @@ jobs:
|
||||
GITHUB_ACTOR: ${{ github.actor }}
|
||||
run: node scripts/upload-build.cjs
|
||||
|
||||
- name: Get package-json version
|
||||
id: get-version
|
||||
uses: beaconbrigade/package-json-version@v0.3.2
|
||||
with:
|
||||
path: .
|
||||
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
tag_name: v${{ steps.get-version.outputs.version }}
|
||||
draft: true
|
||||
files: |
|
||||
dist/*.exe
|
||||
|
||||
Reference in New Issue
Block a user