Skip to content

Commit 01f41bf

Browse files
authored
[GHA] Fix code nightly action broken (#18431)
1 parent 9acc185 commit 01f41bf

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/code-nightly.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:aledbf-oci-tool-gha.14121
2020
steps:
2121
- uses: actions/checkout@v3
22-
- name: Set up Google Cloud SDK
23-
uses: google-github-actions/setup-gcloud@v0
22+
- uses: ./.github/actions/setup-environment
2423
with:
25-
project_id: ${{ secrets.GCP_PROJECT_ID }}
24+
sa_key: ${{ secrets.GCP_CREDENTIALS }}
25+
leeway_segment_key: ${{ secrets.LEEWAY_SEGMENT_KEY }}
2626
- id: build-code
2727
name: Build
2828
env:
@@ -31,8 +31,6 @@ jobs:
3131
run: |
3232
export LEEWAY_WORKSPACE_ROOT=$GITHUB_WORKSPACE
3333
34-
gcloud auth configure-docker --quiet
35-
3634
codeHeadCommit=$(curl -H 'Accept: application/vnd.github.VERSION.sha' https://api.github.com/repos/gitpod-io/openvscode-server/commits/gp-code/main)
3735
codeVersion=$(curl https://raw.githubusercontent.com/gitpod-io/openvscode-server/$codeHeadCommit/package.json | jq .version)
3836
cd components/ide/code

0 commit comments

Comments
 (0)