Skip to content

Commit

Permalink
Try separate vars
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwellmattryan committed Nov 16, 2024
1 parent 9db9ae9 commit a11bcde
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/cd.release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ jobs:
echo "STAGE_VERSION=$STAGE_VERSION" >> $GITHUB_ENV
echo "RELEASE_NAME=$RELEASE_NAME" >> $GITHUB_ENV
echo "INSTALLER_ARTIFACT_NAME=$PLUGIN_NAME-$PLUGIN_VERSION" >> $GITHUB_ENV
echo "INSTALLER_DELIVERABLE_NAME=$PLUGIN_NAME $PLUGIN_VERSION Installer" >> $GITHUB_ENV
echo "MAC_INSTALLER_DELIVERABLE_NAME=$PLUGIN_NAME\ $PLUGIN_VERSION\ Installer" >> $GITHUB_ENV
echo "WIN_INSTALLER_DELIVERABLE_NAME=$PLUGIN_NAME $PLUGIN_VERSION Installer" >> $GITHUB_ENV
- name: Check Tag & Version
run: |
Expand Down Expand Up @@ -114,8 +115,8 @@ jobs:
- name: Upload to Cloud Storage
run: |
ls
mv "${{ env.INSTALLER_ARTIFACT_NAME }}-macOS/${{ env.INSTALLER_ARTIFACT_NAME }}.dmg" "./${{ env.INSTALLER_DELIVERABLE_NAME }}.dmg"
mv "${{ env.INSTALLER_ARTIFACT_NAME }}-Windows/${{ env.INSTALLER_ARTIFACT_NAME }}.exe" "./${{ env.INSTALLER_DELIVERABLE_NAME }}.exe"
mv "${{ env.INSTALLER_ARTIFACT_NAME }}-macOS/${{ env.INSTALLER_ARTIFACT_NAME }}.dmg" "./${{ env.MAC_INSTALLER_DELIVERABLE_NAME }}.dmg"
mv "${{ env.INSTALLER_ARTIFACT_NAME }}-Windows/${{ env.INSTALLER_ARTIFACT_NAME }}.exe" "./${{ env.WIN_INSTALLER_DELIVERABLE_NAME }}.exe"
gcloud storage cp "*.dmg" "gs://${{ secrets.GOOGLE_CLOUD_STORAGE_BUCKET }}/${{ env.STAGE }}"
gcloud storage cp "*.exe" "gs://${{ secrets.GOOGLE_CLOUD_STORAGE_BUCKET }}/${{ env.STAGE }}"
Expand Down

0 comments on commit a11bcde

Please sign in to comment.