mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-12 10:55:20 +02:00
publishing master binary once after all builds (#3885)
Co-authored-by: anilkeshav27 <you@example.com>
This commit is contained in:
parent
e6115a54b2
commit
c3b4925f0b
12
.github/workflows/upload-go-master.yml
vendored
12
.github/workflows/upload-go-master.yml
vendored
@ -23,11 +23,6 @@ jobs:
|
||||
-X github.com/SAP/jenkins-library/pkg/telemetry.LibraryRepository=https://github.com/${GITHUB_REPOSITORY}.git" \
|
||||
-o piper_master .
|
||||
stat --printf="File size of piper_master in bytes: %s\n" piper_master
|
||||
- uses: SAP/project-piper-action@master
|
||||
with:
|
||||
piper-version: master
|
||||
command: githubPublishRelease
|
||||
flags: --token ${{ secrets.GITHUB_TOKEN }} --version latest --assetPath ./piper_master
|
||||
- env:
|
||||
CGO_ENABLED: 0
|
||||
GOOS: darwin
|
||||
@ -39,11 +34,6 @@ jobs:
|
||||
-X github.com/SAP/jenkins-library/pkg/log.LibraryRepository=${GITHUB_REPOSITORY} \
|
||||
-X github.com/SAP/jenkins-library/pkg/telemetry.LibraryRepository=https://github.com/${GITHUB_REPOSITORY}.git" \
|
||||
-o piper_master-darwin.x86_64 .
|
||||
- uses: SAP/project-piper-action@master
|
||||
with:
|
||||
piper-version: master
|
||||
command: githubPublishRelease
|
||||
flags: --token ${{ secrets.GITHUB_TOKEN }} --version latest --assetPath ./piper_master-darwin.x86_64
|
||||
- env:
|
||||
CGO_ENABLED: 0
|
||||
GOOS: windows
|
||||
@ -59,4 +49,4 @@ jobs:
|
||||
with:
|
||||
piper-version: master
|
||||
command: githubPublishRelease
|
||||
flags: --token ${{ secrets.GITHUB_TOKEN }} --version latest --assetPath ./piper_master-win.x86_64.exe
|
||||
flags: --token ${{ secrets.GITHUB_TOKEN }} --version latest --assetPathList ./piper_master --assetPathList ./piper_master-darwin.x86_64 --assetPathList ./piper_master-win.x86_64.exe
|
||||
|
Loading…
Reference in New Issue
Block a user