Skip to content

Commit

Permalink
Keep token and username env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
kczulko committed Mar 12, 2024
1 parent 7f9fc8b commit 9229d0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/gradle-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Build with Gradle
run: nix develop --ignore-environment --command bash -c "./gradlew build && ./gradlew publish"
run: nix develop --ignore-environment --keep USERNAME --keep TOKEN --command bash -c "./gradlew build && ./gradlew publish"
env:
USERNAME: ${{ github.actor }}
TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 9229d0f

Please sign in to comment.