Skip to content

Commit

Permalink
Try again with non-wildcard upload path
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwellmattryan committed Nov 17, 2024
1 parent 1b0fc7b commit 9619074
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/cd.release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,16 +115,14 @@ jobs:
- name: Upload to Cloud Storage
run: |
# MacOS
ls
mv "${{ env.INSTALLER_ARTIFACT_NAME }}-macOS/${{ env.INSTALLER_ARTIFACT_NAME }}.dmg" "./'${{ env.INSTALLER_DELIVERABLE_NAME }}.dmg'"
ls
gcloud storage cp "*.dmg" "gs://${{ secrets.GOOGLE_CLOUD_STORAGE_BUCKET }}/${{ env.INSTALLER_ARTIFACT_STORAGE_PATH }}"
gcloud storage cp "./'${{ env.INSTALLER_DELIVERABLE_NAME }}.dmg'" "gs://${{ secrets.GOOGLE_CLOUD_STORAGE_BUCKET }}/${{ env.INSTALLER_ARTIFACT_STORAGE_PATH }}"
# Windows
ls
mv "${{ env.INSTALLER_ARTIFACT_NAME }}-Windows/${{ env.INSTALLER_ARTIFACT_NAME }}.exe" "./'${{ env.INSTALLER_DELIVERABLE_NAME }}.exe'"
ls
gcloud storage cp "*.exe" "gs://${{ secrets.GOOGLE_CLOUD_STORAGE_BUCKET }}/${{ env.INSTALLER_ARTIFACT_STORAGE_PATH }}"
gcloud storage cp "./'${{ env.INSTALLER_DELIVERABLE_NAME }}.exe'" "gs://${{ secrets.GOOGLE_CLOUD_STORAGE_BUCKET }}/${{ env.INSTALLER_ARTIFACT_STORAGE_PATH }}"
- name: Prepare Body
run: |
Expand Down Expand Up @@ -161,5 +159,5 @@ jobs:
draft: true
body_path: ./RELEASE.md
files: |
**/*.dmg
**/*.exe
"./'${{ env.INSTALLER_DELIVERABLE_NAME }}.dmg'"
"./'${{ env.INSTALLER_DELIVERABLE_NAME }}.exe'"

0 comments on commit 9619074

Please sign in to comment.