File tree Expand file tree Collapse file tree 4 files changed +13
-9
lines changed
Expand file tree Collapse file tree 4 files changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -70,10 +70,10 @@ jobs:
7070 - name : Publish Release
7171 run : >-
7272 awesome-ci release publish --release-id ${{ needs.create_release.outputs.releaseid }}
73- -a "file=build/package/awesome-ci_${{ needs.create_release.outputs.version }}_amd64 "
74- -a "file=build/package/awesome-ci_${{ needs.create_release.outputs.version }}_arm64 "
75- -a "file=build/package/awesome-ci_${{ needs.create_release.outputs.version }}_amd64 .exe"
76- -a "file=build/package/awesome-ci_${{ needs.create_release.outputs.version }}_arm64 .exe"
73+ -a "file=build/package/awesome-ci_${{ needs.create_release.outputs.version }}_linux_amd64 "
74+ -a "file=build/package/awesome-ci_${{ needs.create_release.outputs.version }}_linux_arm64 "
75+ -a "file=build/package/awesome-ci_${{ needs.create_release.outputs.version }}_windows_amd64 .exe"
76+ -a "file=build/package/awesome-ci_${{ needs.create_release.outputs.version }}_windows_arm64 .exe"
7777 -body "scripts/release-template.md"
7878 env :
7979 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
8484 steps :
8585 - name : Checkout code
8686 uses : actions/checkout@v3
87+ with :
88+ fetch-depth : 0
8789
8890 - name : update changelog
8991 run : docker run -v "$PWD":/workdir quay.io/git-chglog/git-chglog -o CHANGELOG.md 1.0.0..
Original file line number Diff line number Diff line change 3636 echo "git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@@': $(git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@@')"
3737
3838 - name : test build Infos
39- run : build/package/awesome-ci_${{ needs.generate_infos.outputs.version }}_amd64 pr info -n ${{ github.event.pull_request.number }} -v > $GITHUB_STEP_SUMMARY
39+ run : build/package/awesome-ci_${{ needs.generate_infos.outputs.version }}_linux_amd64 pr info -n ${{ github.event.pull_request.number }} -v > $GITHUB_STEP_SUMMARY
4040 env :
4141 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4242 - name : test env file
Original file line number Diff line number Diff line change @@ -27,10 +27,10 @@ dep_update:
2727 go get -t ./...
2828
2929awesome-ci : dep
30- GOOS=linux GOARCH=amd64 go build ${GOARGS} -tags " ${GOTAGS} " -ldflags " ${LDFLAGS} " -o ${BUILD_DIR} /package/awesome-ci_${VERSION} _amd64 ./cmd/awesome-ci
31- GOOS=linux GOARCH=arm64 go build ${GOARGS} -tags " ${GOTAGS} " -ldflags " ${LDFLAGS} " -o ${BUILD_DIR} /package/awesome-ci_${VERSION} _arm64 ./cmd/awesome-ci
32- GOOS=windows GOARCH=amd64 go build ${GOARGS} -tags " ${GOTAGS} " -ldflags " ${LDFLAGS} " -o ${BUILD_DIR} /package/awesome-ci_${VERSION} _amd64 .exe ./cmd/awesome-ci
33- GOOS=windows GOARCH=arm64 go build ${GOARGS} -tags " ${GOTAGS} " -ldflags " ${LDFLAGS} " -o ${BUILD_DIR} /package/awesome-ci_${VERSION} _arm64 .exe ./cmd/awesome-ci
30+ GOOS=linux GOARCH=amd64 go build ${GOARGS} -tags " ${GOTAGS} " -ldflags " ${LDFLAGS} " -o ${BUILD_DIR} /package/awesome-ci_${VERSION} _linux_amd64 ./cmd/awesome-ci
31+ GOOS=linux GOARCH=arm64 go build ${GOARGS} -tags " ${GOTAGS} " -ldflags " ${LDFLAGS} " -o ${BUILD_DIR} /package/awesome-ci_${VERSION} _linux_arm64 ./cmd/awesome-ci
32+ GOOS=windows GOARCH=amd64 go build ${GOARGS} -tags " ${GOTAGS} " -ldflags " ${LDFLAGS} " -o ${BUILD_DIR} /package/awesome-ci_${VERSION} _windows_amd64 .exe ./cmd/awesome-ci
33+ GOOS=windows GOARCH=arm64 go build ${GOARGS} -tags " ${GOTAGS} " -ldflags " ${LDFLAGS} " -o ${BUILD_DIR} /package/awesome-ci_${VERSION} _windows_arm64 .exe ./cmd/awesome-ci
3434
3535test : # # Run unittests
3636 -go test -short -v ./internal/pkg/...
Original file line number Diff line number Diff line change 11[ ![ Publish Release] ( https://github.com/fullstack-devops/awesome-ci/actions/workflows/Release.yaml/badge.svg )] ( https://github.com/fullstack-devops/awesome-ci/actions/workflows/Release.yaml )
2+ [ ![ CodeQL] ( https://github.com/fullstack-devops/awesome-ci/actions/workflows/codeql-analysis.yml/badge.svg )] ( https://github.com/fullstack-devops/awesome-ci/actions/workflows/codeql-analysis.yml )
3+ [ ![ gh-pages] ( https://github.com/fullstack-devops/awesome-ci/actions/workflows/pages/pages-build-deployment/badge.svg )] ( https://github.com/fullstack-devops/awesome-ci/actions/workflows/pages/pages-build-deployment )
24
35# Awesome CI
46
You can’t perform that action at this time.
0 commit comments