Skip to content

Commit

Permalink
Fix: 変数展開を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenc-nanashi committed Apr 9, 2023
1 parent 2196584 commit e0c59a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/download-engine/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ runs:
TARGET="${{ inputs.target }}"
fi
cat $TEMPDIR/target.json | jq -er '[.assets[] | select(.name | contains("$TARGET") and endswith(".7z.txt"))][0]' > $TEMPDIR/assets_txt.json
cat $TEMPDIR/target.json | jq -er '[.assets[] | select(.name | contains("'$TARGET'") and endswith(".7z.txt"))][0]' > $TEMPDIR/assets_txt.json
LIST_URL=$(cat $TEMPDIR/assets_txt.json | jq -er '.browser_download_url')
echo "7z.txt url: $LIST_URL"
echo $LIST_URL | xargs curl -sSL > $TEMPDIR/download_name.txt
Expand Down

0 comments on commit e0c59a3

Please sign in to comment.