Skip to content

Commit

Permalink
now with coping
Browse files Browse the repository at this point in the history
  • Loading branch information
MarconZet committed Jan 18, 2023
1 parent 9722e53 commit cf79ee5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,11 @@ runs:
java-version: 11
- name: Download release
if: ${{ inputs.use-release == 'true' }}
run: gh release download `echo ${{ github.action_path }} | grep -Po "(?<=\/)[^\/]*$"` --pattern bazel-steward.jar
run: |
TAG_NAME=$(echo "${{ github.action_path }}" | grep -Po "(?<=\/)[^\/]*$")
gh release download $TAG_NAME --pattern bazel-steward.jar
cp bazel-steward.jar "${{ github.workspace }}"
working-directory: ${{ github.action_path }}
env:
GH_TOKEN: ${{ github.token }}
shell: bash
Expand Down

0 comments on commit cf79ee5

Please sign in to comment.