-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
17 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,21 +9,11 @@ jobs: | |
playground-job: | ||
name: Come out and play 1 | ||
runs-on: ubuntu-latest | ||
permissions: | ||
# packages: write # required to write / cleanup container registry | ||
contents: write # for releases | ||
#permissions: | ||
# packages: write # required to write / cleanup container registry | ||
# contents: write # for releases | ||
steps: | ||
# https://github.com/marketplace/actions/delete-older-releases | ||
- name: Delete old released binaries | ||
uses: dev-drprasad/[email protected] | ||
with: | ||
#repo: <owner>/<repoName> # defaults to current repo | ||
keep_latest: 5 | ||
keep_min_download_counts: 1 # Optional parameters | ||
delete_expired_data: 30 # must set, or nothing gets removed | ||
#delete_tag_pattern: beta # defaults to "" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
|
||
- name: Install latest rubin Kafka Record producer | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
go-releaser: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write # for go-releaser binaries | ||
contents: write # for go-releaser binaries (add and cleanup) | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
@@ -64,6 +64,18 @@ jobs: | |
if-no-files-found: error | ||
retention-days: 1 | ||
|
||
# https://github.com/marketplace/actions/delete-older-releases | ||
- name: Delete old released binaries | ||
uses: dev-drprasad/[email protected] | ||
with: | ||
#repo: <owner>/<repoName> # defaults to current repo | ||
keep_latest: 5 | ||
keep_min_download_counts: 1 # Optional parameters | ||
delete_expired_data: 30 # must set, or nothing gets removed | ||
#delete_tag_pattern: beta # defaults to "" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
docker-push: | ||
name: Release multiplatform binaries and container images | ||
runs-on: ubuntu-latest | ||
|