diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 30ca199..b3899e8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,12 +19,7 @@ jobs: timeout-minutes: 30 outputs: version: ${{ steps.version.outputs.version }} - env: - VERSION: ${{ needs.build.outputs.version }} steps: - - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - with: - persist-credentials: false - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 @@ -49,7 +44,12 @@ jobs: permissions: contents: read id-token: write + env: + VERSION: ${{ needs.build.outputs.version }} steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 with: name: package