feat(action): add environment variables for version detection
All checks were successful
Auto Changelog & Release / release (push) Successful in 6s
All checks were successful
Auto Changelog & Release / release (push) Successful in 6s
- Introduces environment variables to enhance version detection - Ensures compatibility with GitHub event context and references
This commit is contained in:
@@ -21,6 +21,10 @@ runs:
|
||||
- name: Detect version change
|
||||
shell: bash
|
||||
id: detect
|
||||
env:
|
||||
GITHUB_EVENT_BEFORE: ${{ github.event.before || '' }}
|
||||
GITHUB_SHA: ${{ github.sha || '' }}
|
||||
GITHUB_REF: ${{ github.ref || '' }}
|
||||
run: |
|
||||
bash ${{ github.action_path }}/scripts/detect-version-change.sh
|
||||
|
||||
|
Reference in New Issue
Block a user