Skip to content

Commit

Permalink
Merge pull request #1198 from bmuschko/bm/github-token
Browse files Browse the repository at this point in the history
Minor improvement to CI/CD pipeline
  • Loading branch information
bmuschko authored Oct 25, 2023
2 parents af14f39 + 829591e commit ac4ac71
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/linux-build-release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Build and Release [Linux]
on: [push, pull_request]
permissions:
pages: write

jobs:
build:
Expand Down Expand Up @@ -61,8 +63,5 @@ jobs:
- name: Release
if: startsWith(github.ref, 'refs/tags/')
uses: gradle/gradle-build-action@v2
env:
PLUGIN_PORTAL_KEY: ${{ secrets.PLUGIN_PORTAL_KEY }}
PLUGIN_PORTAL_SECRET: ${{ secrets.PLUGIN_PORTAL_SECRET }}
with:
arguments: publishPlugins gitPublishPush -Pgradle.publish.key=${{ secrets.PLUGIN_PORTAL_KEY }} -Pgradle.publish.secret=${{ secrets.PLUGIN_PORTAL_SECRET }} -Dorg.ajoberstar.grgit.auth.username=${{ secrets.GH_TOKEN }} -is
arguments: publishPlugins gitPublishPush -Pgradle.publish.key=${{ secrets.PLUGIN_PORTAL_KEY }} -Pgradle.publish.secret=${{ secrets.PLUGIN_PORTAL_SECRET }} -Dorg.ajoberstar.grgit.auth.username=${{ secrets.GITHUB_TOKEN }} -is

0 comments on commit ac4ac71

Please sign in to comment.