Skip to content

Commit

Permalink
[fix #32] sed
Browse files Browse the repository at this point in the history
  • Loading branch information
tiawl authored Jun 11, 2024
2 parents 1a08b98 + 5662a88 commit 7d1a0e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ runs:
TAG: "${{ inputs.tag }}"
shell: ${{ env.shell }}
run: |
find . -type f -name '*.yml' -exec sed -i "s#uses:\s*${REPOSITORY}@v.\+#uses: ${REPOSITORY}@${TAG}#g" {} +
find . -type f -name '*.yml' -exec sed -i "s#uses:\s*${REPOSITORY}@[^@]\+#uses: ${REPOSITORY}@${TAG}#g" {} +
- name: Setup Zig
if: env.hash_len != '0'
Expand Down

0 comments on commit 7d1a0e1

Please sign in to comment.