Skip to content

Commit

Permalink
Update S3 CI install
Browse files Browse the repository at this point in the history
  • Loading branch information
ianopolous committed Oct 20, 2023
1 parent 59cc061 commit 6d638c4
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/actions/local-s3/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@ runs:
echo 'MINIO_ROOT_USER=test' >> $GITHUB_ENV
echo 'MINIO_ROOT_PASSWORD=testdslocal' >> $GITHUB_ENV
if [[ '${{ runner.os }}' == 'Linux' ]]; then
echo '::set-output name=release::linux-amd64'
echo '::set-output name=home::/usr/local/bin'
echo 'release=linux-amd64' >> $GITHUB_OUTPUT
echo 'home=/usr/local/bin' >> $GITHUB_OUTPUT
elif [[ '${{ runner.os }}' == 'Windows' ]]; then
echo '::set-output name=release::windows-amd64'
echo "::set-output name=home::/usr/bin"
echo 'release=windows-amd64' >> $GITHUB_OUTPUT
echo "home=/usr/bin" >> $GITHUB_OUTPUT
elif [[ '${{ runner.os }}' == 'macOS' ]]; then
echo '::set-output name=release::darwin-amd64'
echo '::set-output name=home::/usr/local/bin'
echo 'release=darwin-amd64' >> $GITHUB_OUTPUT
echo 'home=/usr/local/bin' >> $GITHUB_OUTPUT
fi
- name: Download minio
shell: bash
run: |
curl --retry 5 --no-progress-meter --output '${{ steps.minio.outputs.home }}/minio' 'https://dl.min.io/server/minio/release/${{ steps.minio.outputs.release }}/archive/minio.RELEASE.2021-07-15T22-27-34Z'
curl --retry 5 --no-progress-meter --output '${{ steps.minio.outputs.home }}/mc' 'https://dl.min.io/client/mc/release/${{ steps.minio.outputs.release }}/archive/mc.RELEASE.2021-07-27T06-46-19Z'
curl --retry 5 --no-progress-meter --output '${{ steps.minio.outputs.home }}/minio' 'https://dl.min.io/server/minio/release/${{ steps.minio.outputs.release }}/archive/minio.RELEASE.2023-10-07T15-07-38Z'
curl --retry 5 --no-progress-meter --output '${{ steps.minio.outputs.home }}/mc' 'https://dl.min.io/client/mc/release/${{ steps.minio.outputs.release }}/archive/mc.RELEASE.2023-10-04T06-52-56Z'
chmod +x '${{ steps.minio.outputs.home }}/minio'
chmod +x '${{ steps.minio.outputs.home }}/mc'
- name: Start minio
Expand Down

0 comments on commit 6d638c4

Please sign in to comment.