Skip to content

Commit

Permalink
release on successful test run
Browse files Browse the repository at this point in the history
  • Loading branch information
femnad committed Jan 4, 2024
1 parent f5c7222 commit a3dea78
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/podman-test.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: Test with systemd containers

on:
pull_request:
push:
tags:
- v*
branches:
- main
workflow_dispatch:
inputs:

Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
name: Release new version

on:
push:
branches:
- main
on: workflow_run:
workflows: ["Run tests", "Test with systemd containers"]
types:
- completed
workflow_dispatch:
inputs:

jobs:
release:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
name: Release new version if no tag exists for it
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit a3dea78

Please sign in to comment.