Skip to content

Commit e38ff4c

Browse files
committed
ci: retrieve GitHub action variables from the correct context
1 parent 2c3ffb8 commit e38ff4c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/gradle.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ on:
77
branches:
88
- '[4-9]+.[0-9]+.x'
99
env:
10-
GIT_USER_NAME: ${{ variables.GIT_USER_NAME }}
11-
GIT_USER_EMAIL: ${{ variables.GIT_USER_EMAIL }}
10+
GIT_USER_NAME: ${{ vars.GIT_USER_NAME }}
11+
GIT_USER_EMAIL: ${{ vars.GIT_USER_EMAIL }}
1212
jobs:
1313
test_project:
1414
name: "Test Project"

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ on:
33
release:
44
types: [published]
55
env:
6-
GIT_USER_NAME: ${{ variables.GIT_USER_NAME }}
7-
GIT_USER_EMAIL: ${{ variables.GIT_USER_EMAIL }}
6+
GIT_USER_NAME: ${{ vars.GIT_USER_NAME }}
7+
GIT_USER_EMAIL: ${{ vars.GIT_USER_EMAIL }}
88
jobs:
99
release:
1010
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)