Skip to content

Commit

Permalink
Only upload develop branch artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
timothyschoen committed Jan 24, 2025
1 parent d1efc5a commit db71ebd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ jobs:
run: ./.github/scripts/package-macOS.sh plugdata-macOS-Universal.pkg

- name: Upload to Cloud Storage
if: github.ref == 'refs/heads/develop'
run: |
aws configure set aws_access_key_id ${{ secrets.AWS_ACCESS_KEY }}
aws configure set aws_secret_access_key ${{ secrets.AWS_SECRET_KEY }}
Expand Down Expand Up @@ -129,6 +130,7 @@ jobs:
run: ./.github/scripts/package-macOS.sh plugdata-macOS-Legacy.pkg

- name: Upload to Cloud Storage
if: github.ref == 'refs/heads/develop'
run: |
aws configure set aws_access_key_id ${{ secrets.AWS_ACCESS_KEY }}
aws configure set aws_secret_access_key ${{ secrets.AWS_SECRET_KEY }}
Expand Down Expand Up @@ -177,6 +179,7 @@ jobs:
./.github/scripts/package-Windows.sh plugdata-Win64.msi
- name: Upload to Cloud Storage
if: github.ref == 'refs/heads/develop'
run: |
choco install awscli
aws configure set aws_access_key_id ${{ secrets.AWS_ACCESS_KEY }}
Expand Down Expand Up @@ -228,6 +231,7 @@ jobs:
./.github/scripts/package-Windows.sh plugdata-Win32.msi
- name: Upload to Cloud Storage
if: github.ref == 'refs/heads/develop'
run: |
choco install awscli
aws configure set aws_access_key_id ${{ secrets.AWS_ACCESS_KEY }}
Expand Down Expand Up @@ -329,6 +333,7 @@ jobs:
run: ./.github/scripts/package-Linux.sh plugdata-${{ matrix.name }}.tar.gz

- name: Upload to Cloud Storage
if: github.ref == 'refs/heads/develop'
run: |
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
Expand Down

0 comments on commit db71ebd

Please sign in to comment.