Skip to content

Commit

Permalink
add golang bins in release gh action (#282)
Browse files Browse the repository at this point in the history
* add golang bins in release gh action

* fix gh action documentation

---------

Co-authored-by: Pedro Tashima <[email protected]>
  • Loading branch information
tashima42 and tashima42 authored Oct 18, 2023
1 parent 5cdf758 commit 3c674aa
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 11 deletions.
57 changes: 49 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,55 @@ jobs:
${{ github.workspace }}/bin/utility_index
${{ github.workspace }}/bin/verify_rke2_charts
${{ github.workspace }}/bin/weekly_report
${{ github.workspace }}/cmd/backport/bin/*
${{ github.workspace }}/cmd/gen_release_notes/bin/*
${{ github.workspace }}/cmd/k3s_release/bin/*
${{ github.workspace }}/cmd/rancher_release/bin/*
${{ github.workspace }}/cmd/rke2_release/bin/*
${{ github.workspace }}/cmd/standup/bin/*
${{ github.workspace }}/cmd/test_coverage/bin/*
${{ github.workspace }}/cmd/upstream_go_version/bin/*
${{ github.workspace }}/cmd/backport/bin/backport-darwin-amd64
${{ github.workspace }}/cmd/backport/bin/backport-darwin-arm64
${{ github.workspace }}/cmd/backport/bin/backport-freebsd-amd64
${{ github.workspace }}/cmd/backport/bin/backport-freebsd-arm64
${{ github.workspace }}/cmd/backport/bin/backport-linux-amd64
${{ github.workspace }}/cmd/backport/bin/backport-linux-arm64
${{ github.workspace }}/cmd/gen_release_notes/bin/gen_release_notes-darwin-amd64
${{ github.workspace }}/cmd/gen_release_notes/bin/gen_release_notes-darwin-arm64
${{ github.workspace }}/cmd/gen_release_notes/bin/gen_release_notes-freebsd-amd64
${{ github.workspace }}/cmd/gen_release_notes/bin/gen_release_notes-freebsd-arm64
${{ github.workspace }}/cmd/gen_release_notes/bin/gen_release_notes-linux-amd64
${{ github.workspace }}/cmd/gen_release_notes/bin/gen_release_notes-linux-arm64
${{ github.workspace }}/cmd/gen_release_report/bin/gen_release_report-darwin-amd64
${{ github.workspace }}/cmd/gen_release_report/bin/gen_release_report-darwin-arm64
${{ github.workspace }}/cmd/gen_release_report/bin/gen_release_report-freebsd-amd64
${{ github.workspace }}/cmd/gen_release_report/bin/gen_release_report-freebsd-arm64
${{ github.workspace }}/cmd/gen_release_report/bin/gen_release_report-linux-amd64
${{ github.workspace }}/cmd/gen_release_report/bin/gen_release_report-linux-arm64
${{ github.workspace }}/cmd/k3s_release/bin/k3s_release-darwin-amd64
${{ github.workspace }}/cmd/k3s_release/bin/k3s_release-darwin-arm64
${{ github.workspace }}/cmd/k3s_release/bin/k3s_release-freebsd-amd64
${{ github.workspace }}/cmd/k3s_release/bin/k3s_release-freebsd-arm64
${{ github.workspace }}/cmd/k3s_release/bin/k3s_release-linux-amd64
${{ github.workspace }}/cmd/k3s_release/bin/k3s_release-linux-arm64
${{ github.workspace }}/cmd/rancher_release/bin/rancher_release-darwin-amd64
${{ github.workspace }}/cmd/rancher_release/bin/rancher_release-darwin-arm64
${{ github.workspace }}/cmd/rancher_release/bin/rancher_release-freebsd-amd64
${{ github.workspace }}/cmd/rancher_release/bin/rancher_release-freebsd-arm64
${{ github.workspace }}/cmd/rancher_release/bin/rancher_release-linux-amd64
${{ github.workspace }}/cmd/rancher_release/bin/rancher_release-linux-arm64
${{ github.workspace }}/cmd/rke2_release/bin/rke2_release-darwin-amd64
${{ github.workspace }}/cmd/rke2_release/bin/rke2_release-darwin-arm64
${{ github.workspace }}/cmd/rke2_release/bin/rke2_release-freebsd-amd64
${{ github.workspace }}/cmd/rke2_release/bin/rke2_release-freebsd-arm64
${{ github.workspace }}/cmd/rke2_release/bin/rke2_release-linux-amd64
${{ github.workspace }}/cmd/rke2_release/bin/rke2_release-linux-arm64
${{ github.workspace }}/cmd/test_coverage/bin/test_coverage-darwin-amd64
${{ github.workspace }}/cmd/test_coverage/bin/test_coverage-darwin-arm64
${{ github.workspace }}/cmd/test_coverage/bin/test_coverage-freebsd-amd64
${{ github.workspace }}/cmd/test_coverage/bin/test_coverage-freebsd-arm64
${{ github.workspace }}/cmd/test_coverage/bin/test_coverage-linux-amd64
${{ github.workspace }}/cmd/test_coverage/bin/test_coverage-linux-arm64
${{ github.workspace }}/cmd/upstream_go_version/bin/upstream_go_version-darwin-amd64
${{ github.workspace }}/cmd/upstream_go_version/bin/upstream_go_version-darwin-arm64
${{ github.workspace }}/cmd/upstream_go_version/bin/upstream_go_version-freebsd-amd64
${{ github.workspace }}/cmd/upstream_go_version/bin/upstream_go_version-freebsd-arm64
${{ github.workspace }}/cmd/upstream_go_version/bin/upstream_go_version-linux-amd64
${{ github.workspace }}/cmd/upstream_go_version/bin/upstream_go_version-linux-arm64
${{ github.workspace }}/cmd/standup/bin/standup
${{ github.workspace }}/ecm-distro-tools.tgz
- name: Docker Hub Login
uses: docker/login-action@v2
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ Providing the GH_TOKEN environment variable is recommended to avoid rate limitin
```yaml
steps:
- name: setup ecm-distro-tools
uses: rancher/ecm-distro-tools
uses: rancher/ecm-distro-tools@v0.24.1
with:
version: v0.23.0
version: v0.24.1
env:
GH_TOKEN: ${{ github.token }}
- name: release notes
run: gen_release_notes -h
run: gen_release_notes -h
```
## Contributing
Expand Down

0 comments on commit 3c674aa

Please sign in to comment.