ci: resolve the release tag in the job environment
This commit is contained in:
@@ -18,13 +18,12 @@ on:
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
env:
|
||||
NODE_VERSION: v24.12.0
|
||||
RELEASE_REF: ${{ inputs.tag || github.ref_name }}
|
||||
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
NODE_VERSION: v24.12.0
|
||||
RELEASE_REF: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.tag || github.ref_name }}
|
||||
steps:
|
||||
- name: Check out the tag
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user