-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run make generate-release periodically and on push (#507)
Signed-off-by: Pierangelo Di Pilato <[email protected]>
- Loading branch information
Showing
5 changed files
with
218 additions
and
54 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 |
---|---|---|
|
@@ -8,7 +8,7 @@ on: | |
branches: | ||
- 'main' | ||
schedule: | ||
- cron: "0 6 * * *" # Daily at 06:00. | ||
- cron: "0 6 * * 1" # Runs every Monday at 6:00 AM UTC | ||
workflow_dispatch: # Manual workflow trigger | ||
|
||
concurrency: | ||
|
@@ -23,17 +23,7 @@ jobs: | |
generate-ci: | ||
name: generate-ci | ||
runs-on: ubuntu-latest | ||
env: | ||
GOPATH: ${{ github.workspace }} | ||
steps: | ||
- name: Install prerequisites | ||
env: | ||
YQ_VERSION: 3.4.0 | ||
run: | | ||
sudo wget https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_linux_amd64 -O /usr/bin/yq | ||
sudo chmod +x /usr/bin/yq | ||
sudo mv /usr/bin/yq /usr/local/bin/yq | ||
- name: Checkout openshift-knative/hack | ||
uses: actions/checkout@v4 | ||
with: | ||
|
@@ -44,6 +34,12 @@ jobs: | |
with: | ||
go-version-file: ./src/github.com/openshift-knative/hack/go.mod | ||
|
||
- name: Install yq | ||
run: go install github.com/mikefarah/yq/v3@latest | ||
|
||
- name: Install skopeo | ||
run: go install -tags="exclude_graphdriver_btrfs containers_image_openpgp" github.com/containers/skopeo/cmd/[email protected] | ||
|
||
- name: Install YAML2JSON | ||
run: go install github.com/bronze1man/yaml2json@latest | ||
|
||
|
Oops, something went wrong.