Migrate to Gradle-specific reusable workflow

* Add `permissions` for `GH_TOKEN` in GH Actions
This commit is contained in:
Artem Bilan
2023-11-30 18:05:05 -05:00
parent 6cad2fca30
commit efc3637e07

View File

@@ -7,7 +7,10 @@ run-name: Release current version for branch ${{ github.ref_name }}
jobs:
release:
uses: artembilan/spring-github-workflows/.github/workflows/spring-artifactory-release.yml@main
permissions:
actions: write
uses: artembilan/spring-github-workflows/.github/workflows/spring-artifactory-gradle-release.yml@main
secrets:
GH_ACTIONS_REPO_TOKEN: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
GRADLE_ENTERPRISE_CACHE_USER: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }}