Skip to content

Commit f72e379

Browse files
committed
Change GitHub Actions secrets to use jobs.<job_id>.steps.env
1 parent ae2b417 commit f72e379

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/continuous-deployment-workflow.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,13 @@ jobs:
6464
restore-keys: |
6565
${{ runner.os }}-maven-
6666
- name: Run lein release
67+
env:
68+
CLOJARS_USERNAME: ${{ secrets.CLOJARS_USERNAME }}
69+
CLOJARS_TOKEN: ${{ secrets.CLOJARS_TOKEN }}
70+
GITHUB_USERNAME: ${{ github.actor }}
71+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6772
run: |
68-
CLOJARS_USERNAME=${{ secrets.CLOJARS_USERNAME }} CLOJARS_TOKEN=${{ secrets.CLOJARS_TOKEN }} GITHUB_USERNAME=${{ github.actor }} GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} lein release
73+
lein release
6974
# This creates a 'GitHub Release' from the tag and includes link to the CHANGELOG
7075
# at that point in the Git history. We do not use draft or prerelease features as
7176
# we always want the latest release to show in the right hand column of the project

0 commit comments

Comments
 (0)