Skip to content

Commit 2033fce

Browse files
committed
update git workflows
1 parent 8505907 commit 2033fce

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.github/workflows/apigee-release-pipeline.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ on:
66
push:
77
branches:
88
- master
9-
permissions: read-all
9+
permissions:
10+
contents: read
1011

1112
jobs:
1213
deploy-hello-world:

.github/workflows/continous-integration-workflow.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,14 @@ jobs:
4949
- name: Check licenses
5050
run: make check-licenses
5151

52+
# - name: Set SPEC_VERSION env var
53+
# run: echo ::set-env name=SPEC_VERSION::$(poetry run python scripts/calculate_version.py)
54+
# env:
55+
# ACTIONS_ALLOW_UNSECURE_COMMANDS: true
56+
5257
- name: Set SPEC_VERSION env var
53-
run: echo ::set-env name=SPEC_VERSION::$(poetry run python scripts/calculate_version.py)
54-
env:
55-
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
58+
run: echo "SPEC_VERSION=$(poetry run python scripts/calculate_version.py)" >> "$GITHUB_ENV"
59+
5660

5761
- name: Create release (master only)
5862
id: create-release

0 commit comments

Comments
 (0)