Skip to content

Commit

Permalink
nix develop in publish
Browse files Browse the repository at this point in the history
  • Loading branch information
babbaj committed Oct 16, 2023
1 parent 2fcc623 commit fecd8d6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/gradle-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ jobs:
ACCESS_TOKEN: ${{ secrets.MAVEN_COMMIT_TOKEN }}
run: git clone https://${ACCESS_TOKEN}@github.com/babbaj/maven.git /tmp/maven
- name: Publish package
run: cd java && ./gradlew publish
run: |
cd java
nix develop --command ./gradlew publish
env:
MAVEN_DIR: /tmp/maven
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -33,4 +35,4 @@ jobs:
cd /tmp/maven
git add .
git commit --author="Github Actions <[email protected]>" -m "gradle publish from github actions"
git push
git push

0 comments on commit fecd8d6

Please sign in to comment.