diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 69ac96c2..0a20e469 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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 }}" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d7098e44..f0991a13 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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