From eb379188da0bb1e4cd5ada2eda18b2e9082a5fe3 Mon Sep 17 00:00:00 2001 From: Boshen Date: Sun, 7 Jul 2024 20:11:05 +0800 Subject: [PATCH] ci: fix version not set in release_oxlint.yml --- .github/workflows/release_oxlint.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release_oxlint.yml b/.github/workflows/release_oxlint.yml index 4382111e6..e32e4d395 100644 --- a/.github/workflows/release_oxlint.yml +++ b/.github/workflows/release_oxlint.yml @@ -143,6 +143,8 @@ jobs: permissions: contents: write # for softprops/action-gh-release@v1 id-token: write # for `npm publish --provenance` + outputs: + version: ${{ steps.run.outputs.VERSION }} steps: - uses: actions/checkout@v4 with: @@ -245,4 +247,4 @@ jobs: workflow: bump_oxlint.yml token: ${{ secrets.PAT }} ref: main - inputs: '{ "version": "${{ needs.check.outputs.version }}" }' + inputs: '{ "version": "${{ needs.publish.outputs.version }}" }'