Skip to content

Commit 1e8497a

Browse files
authored
fix: Adjust the execution order
1 parent b76db9e commit 1e8497a

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/version_bump_and_new_release.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,7 @@ jobs:
2020
run: sudo apt update && DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC sudo apt install jq curl git sed nodejs make wget unzip -y
2121

2222
- name: Create the cache
23-
run: mkdir /tmp/cache /tmp/loki-blobs
24-
25-
- name: Create the BOSH private.yml file
26-
run: |
27-
cat - > config/private.yml <<EOS
28-
---
29-
blobstore:
30-
options:
31-
credentials_source: static
32-
json_key: |
33-
${{ secrets.GCP_BLOBSTORE_JSON_KEY }}
34-
EOS
23+
run: mkdir /tmp/cache
3524

3625
- name: Download Bosh CLI
3726
run: cd /tmp/cache && curl -sL https://github.com/cloudfoundry/bosh-cli/releases/download/v${BOSH_VERSION}/bosh-cli-${{ env.BOSH_VERSION }}-linux-amd64 > bosh && chmod 777 bosh
@@ -43,6 +32,17 @@ jobs:
4332
submodules: "recursive"
4433
persist-credentials: false
4534

35+
- name: Create the BOSH private.yml file
36+
run: |
37+
cat - > config/private.yml <<EOS
38+
---
39+
blobstore:
40+
options:
41+
credentials_source: static
42+
json_key: |
43+
${{ secrets.GCP_BLOBSTORE_JSON_KEY }}
44+
EOS
45+
4646
- name: Get latest download urls
4747
run: |
4848
echo "LATEST_JQ_DOWNLOAD_URL=$(curl -sL https://tis-service-user:${{ secrets.TIS_PUBLIC_API_READ_TOKEN }}@api.github.com/repos/jqlang/jq/releases/latest | jq -r '.assets[].browser_download_url' | grep 'jq-linux-amd64$')" >> $GITHUB_ENV

0 commit comments

Comments
 (0)