Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris authored Dec 27, 2020
1 parent c97d59f commit b6d28b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setup-mage/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ runs:
- name: Install magefile/mage
run: |
# set -eux
echo "https://github.com/peaceiris/workflows/blob/main/setup-mage/action.yml"
if [ -z '${{ inputs.mage-version }}' ]; then
export MAGE_VERSION="$(curl -fsi "https://github.com/magefile/mage/releases/latest" | awk -F/ '/^(L|l)ocation:/ {print $(NF)}' | tr '\r' '\n')"
else
Expand Down

0 comments on commit b6d28b5

Please sign in to comment.