mirror of
https://github.com/rlespinasse/github-slug-action.git
synced 2026-06-29 17:41:34 +00:00
docs: use v4.x references
This commit is contained in:
committed by
Romain Lespinasse
parent
200b9d942b
commit
ba2cfdae8a
12
README.md
12
README.md
@@ -57,7 +57,7 @@ Add this in your workflow
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Inject slug/short variables
|
- name: Inject slug/short variables
|
||||||
uses: rlespinasse/github-slug-action@v3.x
|
uses: rlespinasse/github-slug-action@v4.x
|
||||||
```
|
```
|
||||||
|
|
||||||
Check for more [examples][examples] (OS usage, URL use, ...)
|
Check for more [examples][examples] (OS usage, URL use, ...)
|
||||||
@@ -143,10 +143,10 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- run: echo ${GITHUB_REF}
|
- run: echo ${GITHUB_REF}
|
||||||
# print "refs/heads/v3.x"
|
# print "refs/heads/v4.x"
|
||||||
- run: echo "GITHUB_REF=one_value" >> "$GITHUB_ENV"
|
- run: echo "GITHUB_REF=one_value" >> "$GITHUB_ENV"
|
||||||
- run: echo ${GITHUB_REF}
|
- run: echo ${GITHUB_REF}
|
||||||
# print "refs/heads/v3.x"
|
# print "refs/heads/v4.x"
|
||||||
- run: echo "GITHUB_REF_SLUG=another_value" >> "$GITHUB_ENV"
|
- run: echo "GITHUB_REF_SLUG=another_value" >> "$GITHUB_ENV"
|
||||||
- run: echo ${GITHUB_REF_SLUG}
|
- run: echo ${GITHUB_REF_SLUG}
|
||||||
# print "another_value"
|
# print "another_value"
|
||||||
@@ -168,7 +168,7 @@ Download action repository 'rlespinasse/github-slug-action@master'
|
|||||||
>
|
>
|
||||||
> The master branch EOL has been set to **2020-10-25** after a 6-month deprecation period (more information on the [EOL issue][issue-15])
|
> The master branch EOL has been set to **2020-10-25** after a 6-month deprecation period (more information on the [EOL issue][issue-15])
|
||||||
|
|
||||||
Please, use the current branch `v3.x` or a version tag (see [releases pages][releases]) in order to fix your workflow.
|
Please, use the current branch `v4.x` or a version tag (see [releases pages][releases]) in order to fix your workflow.
|
||||||
|
|
||||||
## Thanks for talking about us
|
## Thanks for talking about us
|
||||||
|
|
||||||
@@ -182,8 +182,8 @@ Please, use the current branch `v3.x` or a version tag (see [releases pages][rel
|
|||||||
[license-badge]: https://img.shields.io/github/license/rlespinasse/github-slug-action?style=flat-square
|
[license-badge]: https://img.shields.io/github/license/rlespinasse/github-slug-action?style=flat-square
|
||||||
|
|
||||||
[actions]: https://github.com/rlespinasse/github-slug-action/actions
|
[actions]: https://github.com/rlespinasse/github-slug-action/actions
|
||||||
[license]: https://github.com/rlespinasse/github-slug-action/blob/v3.x/LICENSE
|
[license]: https://github.com/rlespinasse/github-slug-action/blob/v4.x/LICENSE
|
||||||
[examples]: https://github.com/rlespinasse/github-slug-action/tree/v3.x/examples
|
[examples]: https://github.com/rlespinasse/github-slug-action/tree/v4.x/examples
|
||||||
[custom-variable]: https://github.com/rlespinasse/github-slug-action/issues/new?assignees=&labels=enhancement&template=feature_request.md&title=
|
[custom-variable]: https://github.com/rlespinasse/github-slug-action/issues/new?assignees=&labels=enhancement&template=feature_request.md&title=
|
||||||
[releases]: https://github.com/rlespinasse/github-slug-action/releases
|
[releases]: https://github.com/rlespinasse/github-slug-action/releases
|
||||||
[issue-15]: https://github.com/rlespinasse/github-slug-action/issues/15
|
[issue-15]: https://github.com/rlespinasse/github-slug-action/issues/15
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: rlespinasse/github-slug-action@v3.x
|
- uses: rlespinasse/github-slug-action@v4.x
|
||||||
- name: Output
|
- name: Output
|
||||||
run: |
|
run: |
|
||||||
echo "Partial variables"
|
echo "Partial variables"
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ jobs:
|
|||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: rlespinasse/github-slug-action@v3.x
|
- uses: rlespinasse/github-slug-action@v4.x
|
||||||
- name: Output
|
- name: Output
|
||||||
run: |
|
run: |
|
||||||
echo "Partial variables"
|
echo "Partial variables"
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: rlespinasse/github-slug-action@v3.x
|
- uses: rlespinasse/github-slug-action@v4.x
|
||||||
- run: |
|
- run: |
|
||||||
./deploy-application.sh --url "https://${{ env.GITHUB_REF_SLUG_URL }}.staging.app.example.com"
|
./deploy-application.sh --url "https://${{ env.GITHUB_REF_SLUG_URL }}.staging.app.example.com"
|
||||||
|
|
||||||
@@ -15,6 +15,6 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: rlespinasse/github-slug-action@v3.x
|
- uses: rlespinasse/github-slug-action@v4.x
|
||||||
- run: |
|
- run: |
|
||||||
./deploy-application.sh --url "https://staging.app.example.com/${{ env.GITHUB_REF_SLUG_URL }}"
|
./deploy-application.sh --url "https://staging.app.example.com/${{ env.GITHUB_REF_SLUG_URL }}"
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ jobs:
|
|||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: rlespinasse/github-slug-action@v3.x
|
- uses: rlespinasse/github-slug-action@v4.x
|
||||||
- name: Output
|
- name: Output
|
||||||
run: |
|
run: |
|
||||||
echo "Partial variables"
|
echo "Partial variables"
|
||||||
|
|||||||
Reference in New Issue
Block a user