-
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
68a3410
commit b3f79aa
Showing
3 changed files
with
9 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,7 @@ steps: | |
steps: | ||
- uses: rlespinasse/github-slug-action@v5 | ||
- run: echo ${{ env.GITHUB_REF_SLUG }} | ||
shell: bash | ||
``` | ||
### Variable Scope Issues | ||
|
@@ -27,25 +28,22 @@ jobs: | |
job2: | ||
steps: | ||
- run: echo ${{ env.GITHUB_REF_SLUG }} # Empty | ||
shell: bash | ||
|
||
# Solution: Re-run action in each job | ||
jobs: | ||
job2: | ||
steps: | ||
- uses: rlespinasse/github-slug-action@v5 | ||
- run: echo ${{ env.GITHUB_REF_SLUG }} | ||
shell: bash | ||
``` | ||
## Debug Steps | ||
### Enable Debug Logging | ||
```yaml | ||
steps: | ||
- uses: rlespinasse/github-slug-action@v5 | ||
with: | ||
debug: true | ||
``` | ||
Add the variable (or secret) `ACTIONS_STEP_DEBUG` set to true to activate the debug of your workflow. | ||
|
||
### Variable Inspection | ||
|
||
|
@@ -62,7 +60,6 @@ steps: | |
|
||
## Known Issues | ||
|
||
- Case sensitivity on different OS | ||
- Special character handling | ||
- Unicode support limitations | ||
- Environment variable persistence | ||
|
@@ -75,22 +72,13 @@ steps: | |
```yaml | ||
# Use specific version for stability | ||
steps: | ||
- uses: rlespinasse/[email protected] | ||
``` | ||
### OS Compatibility | ||
```yaml | ||
steps: | ||
- uses: rlespinasse/github-slug-action@v5 | ||
with: | ||
platform: ${{ runner.os }} | ||
- uses: rlespinasse/[email protected] | ||
``` | ||
|
||
## Support Resources | ||
|
||
- [GitHub Issues](https://github.com/rlespinasse/github-slug-action/issues) | ||
- [Documentation](https://github.com/rlespinasse/github-slug-action/blob/main/README.md) | ||
- [Documentation](https://github.com/rlespinasse/github-slug-action/blob/v5.x/README.md) | ||
- [Release Notes](https://github.com/rlespinasse/github-slug-action/releases) | ||
|
||
Need more help? [Open an issue](https://github.com/rlespinasse/github-slug-action/issues/new) |