Skip to content

Commit fb8379b

Browse files
authored
fix: set output and update deps (#394)
* fix: set-output * update deps
1 parent b43b4b1 commit fb8379b

File tree

5 files changed

+40
-127
lines changed

5 files changed

+40
-127
lines changed

.github/workflows/deploy-cloudrun-credentials-it.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- id: service
16-
run: echo ::set-output name=service::run-gcloud-$GITHUB_SHA
16+
run: echo service=run-gcloud-$GITHUB_SHA >> $GITHUB_OUTPUT
1717
- uses: actions/checkout@v3
1818
- uses: actions/setup-node@v3
1919
with:
@@ -46,7 +46,7 @@ jobs:
4646
runs-on: ubuntu-latest
4747
steps:
4848
- id: service
49-
run: echo ::set-output name=service::run-b64-$GITHUB_SHA
49+
run: echo service=run-b64-$GITHUB_SHA >> $GITHUB_OUTPUT
5050
- uses: actions/checkout@v3
5151
- uses: actions/setup-node@v3
5252
with:
@@ -79,7 +79,7 @@ jobs:
7979
runs-on: ubuntu-latest
8080
steps:
8181
- id: service
82-
run: echo ::set-output name=service::run-json-$GITHUB_SHA
82+
run: echo service=run-json-$GITHUB_SHA >> $GITHUB_OUTPUT
8383
- uses: actions/checkout@v3
8484
- uses: actions/setup-node@v3
8585
with:
@@ -116,7 +116,7 @@ jobs:
116116

117117
steps:
118118
- id: service
119-
run: echo ::set-output name=service::run-wif-$GITHUB_SHA
119+
run: echo service=run-wif-$GITHUB_SHA >> $GITHUB_OUTPUT
120120

121121
- uses: actions/checkout@v3
122122

.github/workflows/deploy-cloudrun-it.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- id: service
16-
run: echo ::set-output name=service::run-envvars-$GITHUB_SHA
16+
run: echo service=run-envvars-$GITHUB_SHA >> $GITHUB_OUTPUT
1717
- uses: actions/checkout@v3
1818
- uses: actions/setup-node@v3
1919
with:
@@ -70,7 +70,7 @@ jobs:
7070
runs-on: ubuntu-latest
7171
steps:
7272
- id: service
73-
run: echo ::set-output name=service::run-secret-manager-$GITHUB_SHA
73+
run: echo service=run-secret-manager-$GITHUB_SHA >> $GITHUB_OUTPUT
7474
- uses: actions/checkout@v3
7575
- uses: actions/setup-node@v3
7676
with:
@@ -130,7 +130,7 @@ jobs:
130130
runs-on: ubuntu-latest
131131
steps:
132132
- id: service
133-
run: echo ::set-output name=service::run-yaml-$GITHUB_SHA
133+
run: echo service=run-yaml-$GITHUB_SHA >> $GITHUB_OUTPUT
134134
- uses: actions/checkout@v3
135135
- uses: actions/setup-node@v3
136136
with:
@@ -168,7 +168,7 @@ jobs:
168168
runs-on: ubuntu-latest
169169
steps:
170170
- id: service
171-
run: echo ::set-output name=service::run-full-yaml-$GITHUB_SHA
171+
run: echo service=run-full-yaml-$GITHUB_SHA >> $GITHUB_OUTPUT
172172
- uses: actions/checkout@v3
173173
- uses: actions/setup-node@v3
174174
with:
@@ -230,7 +230,7 @@ jobs:
230230
runs-on: ubuntu-latest
231231
steps:
232232
- id: service
233-
run: echo ::set-output name=service::run-revision-name-$GITHUB_SHA
233+
run: echo service=run-revision-name-$GITHUB_SHA >> $GITHUB_OUTPUT
234234
- uses: actions/checkout@v3
235235
- uses: actions/setup-node@v3
236236
with:

.github/workflows/deploy-cloudrun-traffic-it.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- id: service
16-
run: echo ::set-output name=service::run-source-$GITHUB_SHA
16+
run: echo service=run-source-$GITHUB_SHA >> $GITHUB_OUTPUT
1717
- uses: actions/checkout@v3
1818
- uses: actions/setup-node@v3
1919
with:
@@ -70,7 +70,7 @@ jobs:
7070
runs-on: ubuntu-latest
7171
steps:
7272
- id: service
73-
run: echo ::set-output name=service::run-suffix-$GITHUB_SHA
73+
run: echo service=run-suffix-$GITHUB_SHA >> $GITHUB_OUTPUT
7474
- uses: actions/checkout@v3
7575
- uses: actions/setup-node@v3
7676
with:
@@ -108,7 +108,7 @@ jobs:
108108
runs-on: ubuntu-latest
109109
steps:
110110
- id: service
111-
run: echo ::set-output name=service::run-tag-$(echo $GITHUB_SHA | cut -c1-6)
111+
run: echo service=run-tag-$(echo $GITHUB_SHA | cut -c1-6) >> $GITHUB_OUTPUT
112112
- uses: actions/checkout@v3
113113
- uses: actions/setup-node@v3
114114
with:

package-lock.json

Lines changed: 26 additions & 113 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
"@actions/core": "^1.10.0",
3333
"@actions/exec": "^1.1.1",
3434
"@actions/tool-cache": "^2.0.1",
35-
"@google-github-actions/actions-utils": "^0.4.2",
36-
"@google-github-actions/setup-cloud-sdk": "^0.5.0"
35+
"@google-github-actions/actions-utils": "^0.4.3",
36+
"@google-github-actions/setup-cloud-sdk": "^0.5.2"
3737
},
3838
"devDependencies": {
3939
"@types/chai": "^4.3.3",

0 commit comments

Comments
 (0)