Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanfbrito committed Sep 25, 2024
1 parent 2dbb9c6 commit 0273736
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pull-request-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,17 +82,17 @@ jobs:
if: ${{ matrix.os == 'ubuntu-latest'}}
run: yarn electron-builder --publish never --linux snap

# Install AWS CLI
# Install AWS CLI using the official action
- name: Install AWS CLI
run: |
pip install awscli
uses: aws-actions/setup-aws-cli@v2

# Upload artifacts to Wasabi (only specified file extensions)
- name: Upload Artifacts to Wasabi
shell: bash
run: |
aws s3 cp dist/ s3://${{ secrets.WASABI_BUCKET_NAME }}/${{ matrix.os }}/ --recursive \
--acl public-read \
--endpoint-url=https://s3.wasabisys.com \
--endpoint-url=https://s3.us-east-1.wasabisys.com \
--exclude "*" \
--include "rocketchat-*.dmg" \
--include "rocketchat-*.pkg" \
Expand All @@ -116,7 +116,7 @@ jobs:
let artifactUrls = '';
for (const file of files) {
if (patterns.some(pattern => pattern.test(file))) {
const artifactUrl = `https://s3.wasabisys.com/${{ secrets.WASABI_BUCKET_NAME }}/${{ matrix.os }}/${file}`;
const artifactUrl = `https://s3.us-east-1.wasabisys.com/${{ secrets.WASABI_BUCKET_NAME }}/${{ matrix.os }}/${file}`;
artifactUrls += `- [${file}](${artifactUrl})\n`;
}
}
Expand Down

0 comments on commit 0273736

Please sign in to comment.