mirror of
https://github.com/rlespinasse/github-slug-action.git
synced 2026-07-19 18:48:48 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
00198f8992 |
@@ -58,7 +58,7 @@ runs:
|
|||||||
|
|
||||||
# Calculated values
|
# Calculated values
|
||||||
- id: get-github-ref-name
|
- id: get-github-ref-name
|
||||||
run: echo "::set-output name=github-ref-name::${{ github.head_ref || github.ref_name }}"
|
run: echo "github-ref-name=${{ github.head_ref || github.ref_name }}" >> "$GITHUB_OUTPUT"
|
||||||
shell: bash
|
shell: bash
|
||||||
- uses: rlespinasse/slugify-value@v1.3.2
|
- uses: rlespinasse/slugify-value@v1.3.2
|
||||||
with:
|
with:
|
||||||
@@ -67,7 +67,7 @@ runs:
|
|||||||
prefix: ${{ inputs.prefix }}
|
prefix: ${{ inputs.prefix }}
|
||||||
slug-maxlength: ${{ inputs.slug-maxlength }}
|
slug-maxlength: ${{ inputs.slug-maxlength }}
|
||||||
- id: get-github-repository-owner-part
|
- id: get-github-repository-owner-part
|
||||||
run: echo "::set-output name=github-repository-owner-part::$(echo $GITHUB_REPOSITORY | cut -d/ -f1)"
|
run: echo "github-repository-owner-part=$(echo $GITHUB_REPOSITORY | cut -d/ -f1)" >> "$GITHUB_OUTPUT"
|
||||||
shell: bash
|
shell: bash
|
||||||
- uses: rlespinasse/slugify-value@v1.3.2
|
- uses: rlespinasse/slugify-value@v1.3.2
|
||||||
with:
|
with:
|
||||||
@@ -76,7 +76,7 @@ runs:
|
|||||||
prefix: ${{ inputs.prefix }}
|
prefix: ${{ inputs.prefix }}
|
||||||
slug-maxlength: ${{ inputs.slug-maxlength }}
|
slug-maxlength: ${{ inputs.slug-maxlength }}
|
||||||
- id: get-github-repository-name-part
|
- id: get-github-repository-name-part
|
||||||
run: echo "::set-output name=github-repository-name-part::$(echo $GITHUB_REPOSITORY | cut -d/ -f2)"
|
run: echo "github-repository-name-part=$(echo $GITHUB_REPOSITORY | cut -d/ -f2)" >> "$GITHUB_OUTPUT"
|
||||||
shell: bash
|
shell: bash
|
||||||
- uses: rlespinasse/slugify-value@v1.3.2
|
- uses: rlespinasse/slugify-value@v1.3.2
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -31,4 +31,4 @@ else
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
echo "::debug ::Set PREFLIGHT_SHORT_LENGTH=$PREFLIGHT_SHORT_LENGTH"
|
echo "::debug ::Set PREFLIGHT_SHORT_LENGTH=$PREFLIGHT_SHORT_LENGTH"
|
||||||
echo "::set-output name=PREFLIGHT_SHORT_LENGTH::$PREFLIGHT_SHORT_LENGTH"
|
echo "PREFLIGHT_SHORT_LENGTH=$PREFLIGHT_SHORT_LENGTH" >> "$GITHUB_OUTPUT"
|
||||||
|
|||||||
Reference in New Issue
Block a user