Skip to content

Commit

Permalink
ci: Make release workflow automatic
Browse files Browse the repository at this point in the history
Signed-off-by: Mahendra Paipuri <mahendra.paipuri@gmail.com>
  • Loading branch information
mahendrapaipuri committed Jan 22, 2024
1 parent 1d199fb commit f9c02cc
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,25 @@
name: Release

on:
push:
# Run workflow on new tags
tags:
- "v.*"
workflow_dispatch:
inputs:
skip-tests:
type: boolean
description: Skip
default: false
- 'v*'

permissions:
contents: read

jobs:
test-lint:
uses: ./.github/workflows/step_tests-lint.yml
if: !inputs.skip-tests

test-unit:
needs: [test-lint]
uses: ./.github/workflows/step_tests-unit.yml
if: !inputs.skip-tests

test-e2e:
needs: [test-lint]
uses: ./.github/workflows/step_tests-e2e.yml
if: !inputs.skip-tests

build:
needs: [test-unit, test-e2e]
Expand Down

0 comments on commit f9c02cc

Please sign in to comment.