Skip to content

Commit 70aff99

Browse files
Update release.yaml
update release
1 parent f2ff336 commit 70aff99

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/release.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,13 +142,19 @@ jobs:
142142
discussion_category_name: "📣 Announcements"
143143
files: ./release-packages/*
144144

145+
- name: Authenticate to GCP
146+
run: |
147+
echo "${{ secrets.GCP_UPLOAD_CREDENTIALS }}" > /tmp/gcp-key.json
148+
shell: bash
149+
145150
- name: Upload .deb files to GCP bucket
146151
uses: google-github-actions/upload-cloud-storage@v1
147152
with:
148153
path: ./release-packages/
149154
destination: qbraid-code-server
150155
glob: '*.deb'
151-
credentials: ${{ secrets.GCP_UPLOAD_CREDENTIALS }}
156+
env:
157+
GOOGLE_APPLICATION_CREDENTIALS: /tmp/gcp-key.json
152158

153159
package-macos-amd64:
154160
name: x86-64 macOS build

0 commit comments

Comments
 (0)