Skip to content

Commit

Permalink
ci: retrieve GitHub action variables from the correct context
Browse files Browse the repository at this point in the history
  • Loading branch information
matrei committed Jan 22, 2025
1 parent 2c3ffb8 commit e38ff4c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
branches:
- '[4-9]+.[0-9]+.x'
env:
GIT_USER_NAME: ${{ variables.GIT_USER_NAME }}
GIT_USER_EMAIL: ${{ variables.GIT_USER_EMAIL }}
GIT_USER_NAME: ${{ vars.GIT_USER_NAME }}
GIT_USER_EMAIL: ${{ vars.GIT_USER_EMAIL }}
jobs:
test_project:
name: "Test Project"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ on:
release:
types: [published]
env:
GIT_USER_NAME: ${{ variables.GIT_USER_NAME }}
GIT_USER_EMAIL: ${{ variables.GIT_USER_EMAIL }}
GIT_USER_NAME: ${{ vars.GIT_USER_NAME }}
GIT_USER_EMAIL: ${{ vars.GIT_USER_EMAIL }}
jobs:
release:
runs-on: ubuntu-latest
Expand Down

0 comments on commit e38ff4c

Please sign in to comment.