gha: cosmo download follow redirect

This commit is contained in:
Alex Garcia 2024-05-23 11:21:51 -07:00
parent 79f4e15a63
commit ddb838d32f

View file

@ -77,7 +77,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- run: | - run: |
mkdir $HOME/cosmo mkdir $HOME/cosmo
curl -o cosmocc-3.3.6.zip https://github.com/jart/cosmopolitan/releases/download/3.3.6/cosmocc-3.3.6.zip curl -L -o cosmocc-3.3.6.zip https://github.com/jart/cosmopolitan/releases/download/3.3.6/cosmocc-3.3.6.zip
unzip cosmocc-3.3.6.zip -d $HOME/cosmo unzip cosmocc-3.3.6.zip -d $HOME/cosmo
echo "$HOME/cosmo/bin" >> $GITHUB_PATH echo "$HOME/cosmo/bin" >> $GITHUB_PATH
- run: ./scripts/vendor.sh - run: ./scripts/vendor.sh