From 415e10ba588dc393bc81fb92d2a04a03dbc4f3d2 Mon Sep 17 00:00:00 2001 From: ElaineOwner <49472613+ElaineOwner@users.noreply.github.com> Date: Thu, 10 Aug 2023 18:16:45 +0800 Subject: [PATCH] Update release-go.yml --- .github/workflows/release-go.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-go.yml b/.github/workflows/release-go.yml index 45e7f9d2fb..07e6baacff 100644 --- a/.github/workflows/release-go.yml +++ b/.github/workflows/release-go.yml @@ -36,7 +36,7 @@ jobs: with: piper-version: master command: githubPublishRelease - flags: --token ${{ secrets.GITHUB_TOKEN }} --assetPathList ./piper_master --assetPathList ./piper --assetPathList ./piper_master-darwin.x86_64 --assetPathList ./piper-darwin.x86_64 --assetPathList ./piper_master-darwin.arm64 --assetPathList ./piper-darwin.arm64 --assetPathList ./piper_master-win.x86_64.exe --assetPathList ./piper-win.x86_64.exe + flags: --token ${{ secrets.GH_TOKEN }} --assetPathList ./piper_master --assetPathList ./piper --assetPathList ./piper_master-darwin.x86_64 --assetPathList ./piper-darwin.x86_64 --assetPathList ./piper_master-darwin.arm64 --assetPathList ./piper-darwin.arm64 --assetPathList ./piper_master-win.x86_64.exe --assetPathList ./piper-win.x86_64.exe - name: Build and publish jar for consumption in unit tests run: mvn package - uses: SAP/project-piper-action@master @@ -44,4 +44,4 @@ jobs: with: piper-version: master command: githubPublishRelease - flags: --token ${{ secrets.GITHUB_TOKEN }} --version latest --assetPath ./target/jenkins-library.jar + flags: --token ${{ secrets.GH_TOKEN }} --version latest --assetPath ./target/jenkins-library.jar