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" \
|
-X github.com/SAP/jenkins-library/pkg/telemetry.LibraryRepository=https://github.com/${GITHUB_REPOSITORY}.git" \
|
||||||
-o piper_master .
|
-o piper_master .
|
||||||
stat --printf="File size of piper_master in bytes: %s\n" 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:
|
- env:
|
||||||
CGO_ENABLED: 0
|
CGO_ENABLED: 0
|
||||||
GOOS: darwin
|
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/log.LibraryRepository=${GITHUB_REPOSITORY} \
|
||||||
-X github.com/SAP/jenkins-library/pkg/telemetry.LibraryRepository=https://github.com/${GITHUB_REPOSITORY}.git" \
|
-X github.com/SAP/jenkins-library/pkg/telemetry.LibraryRepository=https://github.com/${GITHUB_REPOSITORY}.git" \
|
||||||
-o piper_master-darwin.x86_64 .
|
-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:
|
- env:
|
||||||
CGO_ENABLED: 0
|
CGO_ENABLED: 0
|
||||||
GOOS: windows
|
GOOS: windows
|
||||||
@ -59,4 +49,4 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
piper-version: master
|
piper-version: master
|
||||||
command: githubPublishRelease
|
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