File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -40,23 +40,24 @@ jobs:
4040 - name : List of the GitHub Actions environment variables on Windows
4141 run : env | sort
4242
43- # Generate an SBOM
43+ # Generate an SBOM
4444 - name : Set up Go
4545 uses : actions/setup-go@v5
4646 with :
4747 go-version : 1.21
4848 - name : Install SBOM generator (latest)
49- run : go install github.com/CycloneDX/cyclonedx-gomod/cmd/cyclonedx-gomod@v1.7.0
49+ run : go install github.com/CycloneDX/cyclonedx-gomod/cmd/cyclonedx-gomod@latest
5050 - name : Generate SBOM (from `go.mod`)
51+ # run: cyclonedx-gomod mod -json=true "-output ${{env.APP_NAME}}-${{env.APP_VERSION}}.bom.json" .
5152 run : cyclonedx-gomod mod -json=true -output ${{env.SBOM_NAME}}
5253
53- # Release binaries in all GOOS/GOARCH combinations (with all config. files)
54- - uses : wangyoucao577/go-release-action@v1.35
54+ # Release binaries in all GOOS/GOARCH combinations (with all config. files)
55+ - uses : wangyoucao577/go-release-action@v1.50
5556 with :
5657 github_token : ${{ secrets.GITHUB_TOKEN }}
5758 goos : ${{ matrix.goos }}
5859 goarch : ${{ matrix.goarch }}
59- extra_files : LICENSE ${{env.SBOM_NAME}}
60+ extra_files : LICENSE README.md ${{env.SBOM_NAME}}
6061 # "auto" will use ZIP for Windows, otherwise default is TAR
6162 compress_assets : auto
6263 # NOTE: This verbose flag may be removed
You can’t perform that action at this time.
0 commit comments