Skip to content

Commit ae5290a

Browse files
authored
Merge pull request #35 from CycloneDX/pin-cdx-gomod
Bump release yml
2 parents fb45780 + d0cf771 commit ae5290a

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)