Skip to content

Commit d723184

Browse files
committed
fix CI step
1 parent 8fe39b1 commit d723184

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,21 @@ jobs:
7575
exit 1
7676
fi
7777
78+
- name: Generate Access Token
79+
id: generate-token
80+
uses: actions/create-github-app-token@v2
81+
with:
82+
app-id: ${{ vars.DREMIO_RELEASE_BOT_APP_ID }}
83+
private-key: ${{ secrets.DREMIO_RELEASE_BOT_PRIVATE_KEY }}
84+
7885
- name: Gradle JReleaser Full Release Dry-Run
86+
env:
87+
JRELEASER_DRY_RUN: true
88+
JRELEASER_GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
89+
JRELEASER_GPG_PASSPHRASE: ${{ secrets.DEVBOT_GPG_PASSPHRASE }}
90+
JRELEASER_GPG_SECRET_KEY: ${{ secrets.DEVBOT_GPG_PRIVATE_KEY }}
7991
run: |
80-
JRELEASER_DRY_RUN=true ./gradlew --scan jreleaserFullRelease
92+
./gradlew --scan jreleaserFullRelease
8193
8294
- name: Archive Test Results
8395
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)