Skip to content

Commit

Permalink
Try a different cloud provider for nightly builds
Browse files Browse the repository at this point in the history
  • Loading branch information
timothyschoen committed Jan 16, 2025
1 parent c817412 commit bb75076
Showing 1 changed file with 14 additions and 22 deletions.
36 changes: 14 additions & 22 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,19 +134,15 @@ jobs:
AC_PASSWORD: ${{ secrets.AC_PASSWORD }}
run: ./.github/scripts/package-macOS.sh plugdata-macOS-Legacy.pkg

- name: Authorise Google Cloud
if: github.ref == 'refs/heads/develop'
uses: "google-github-actions/auth@v2"
- name: Authorize Cloud Storage
uses: aws-actions/configure-aws-credentials@v2
with:
credentials_json: ${{ secrets.GCP_SA_KEY }}
aws-access-key-id: ${{ secrets.WASABI_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.WASABI_SECRET_KEY }}
aws-region: eu-central-1

- name: Upload to Google Cloud
if: github.ref == 'refs/heads/develop'
uses: "google-github-actions/upload-cloud-storage@v2"
with:
path: ./
glob: ./plugdata-macOS-Legacy.*
destination: "plugdata-nightly"
- name: Upload files to Wasabi
run: aws s3 cp ./plugdata-macOS-Legacy.* s3://plugdata-nightly/ --recursive --endpoint-url=https://s3.eu-central-1.wasabisys.com

- name: Archive Artifacts
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -350,19 +346,15 @@ jobs:
working-directory: ${{github.workspace}}
run: ./.github/scripts/package-Linux.sh plugdata-${{ matrix.name }}.tar.gz

- name: Authorise Google Cloud
if: github.ref == 'refs/heads/develop'
uses: "google-github-actions/auth@v2"
- name: Authorize Cloud Storage
uses: aws-actions/configure-aws-credentials@v2
with:
credentials_json: ${{ secrets.GCP_SA_KEY }}
aws-access-key-id: ${{ secrets.WASABI_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.WASABI_SECRET_KEY }}
aws-region: eu-central-1

- name: Upload to Google Cloud
if: github.ref == 'refs/heads/develop'
uses: "google-github-actions/upload-cloud-storage@v2"
with:
path: ./
glob: plugdata-${{ matrix.name }}.tar.*
destination: "plugdata-nightly"
- name: Upload files to Wasabi
run: aws s3 cp plugdata-${{ matrix.name }}.tar.* s3://plugdata-nightly/ --recursive --endpoint-url=https://s3.eu-central-1.wasabisys.com

- name: Archive Artifacts
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit bb75076

Please sign in to comment.