Merge pull request #15190 from carlocab/vendor-lint
workflows/vendor-gems: fix actionlint errors
This commit is contained in:
commit
a674cbb88a
4
.github/workflows/vendor-gems.yml
vendored
4
.github/workflows/vendor-gems.yml
vendored
@ -57,10 +57,10 @@ jobs:
|
|||||||
gh pr checkout '${{ github.event.pull_request.number || github.event.inputs.pull_request }}'
|
gh pr checkout '${{ github.event.pull_request.number || github.event.inputs.pull_request }}'
|
||||||
|
|
||||||
branch="$(git branch --show-current)"
|
branch="$(git branch --show-current)"
|
||||||
echo "branch=${branch}" >> $GITHUB_OUTPUT
|
echo "branch=${branch}" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
gem_name="$(echo "${branch}" | sed -E 's|.*/||;s|(.*)-.*$|\1|')"
|
gem_name="$(echo "${branch}" | sed -E 's|.*/||;s|(.*)-.*$|\1|')"
|
||||||
echo "gem_name=${gem_name}" >> $GITHUB_OUTPUT
|
echo "gem_name=${gem_name}" >> "$GITHUB_OUTPUT"
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
working-directory: ${{ steps.set-up-homebrew.outputs.repository-path }}
|
working-directory: ${{ steps.set-up-homebrew.outputs.repository-path }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user