Skip to content

Commit

Permalink
Update build.yaml (#16)
Browse files Browse the repository at this point in the history
Signed-off-by: Oleg Kovalov <[email protected]>
  • Loading branch information
cristaloleg authored Nov 12, 2023
1 parent bea5a9a commit ea17889
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,12 @@ on:
pull_request:
branches: [main]
schedule:
- cron: '0 0 * * 0'
workflow_dispatch:
inputs:
tag:
description: 'Tag to create'
required: true
default: 'v0.0.0'
- cron: '0 0 * * 0' # run "At 00:00 on Sunday"

# See https://github.com/cristalhq/.github/.github/workflows
jobs:
build:
uses: cristalhq/.github/.github/workflows/build.yml@518b7d4706840d9725929cf220241de03bd12a94 # v0.6.0
uses: cristalhq/.github/.github/workflows/[email protected]

vuln:
uses: cristalhq/.github/.github/workflows/vuln.yml@518b7d4706840d9725929cf220241de03bd12a94 # v0.6.0

release:
if: github.event_name == 'workflow_dispatch'
uses: cristalhq/.github/.github/workflows/release.yml@518b7d4706840d9725929cf220241de03bd12a94 # v0.6.0
with:
tag: ${{ github.event.input.tag }}
uses: cristalhq/.github/.github/workflows/[email protected]

0 comments on commit ea17889

Please sign in to comment.