mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 13:11:02 +00:00
ci: call CI workflow before releasing
This commit is contained in:
parent
803cd32ed4
commit
4013e84338
2 changed files with 7 additions and 1 deletions
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
|
|
@ -1,6 +1,8 @@
|
|||
name: CI
|
||||
|
||||
on: [push]
|
||||
on:
|
||||
push:
|
||||
workflow_call:
|
||||
|
||||
jobs:
|
||||
api:
|
||||
|
|
|
|||
4
.github/workflows/release.yaml
vendored
4
.github/workflows/release.yaml
vendored
|
|
@ -4,10 +4,14 @@ on:
|
|||
branches:
|
||||
- main
|
||||
jobs:
|
||||
tests:
|
||||
uses: ./.github/workflows/ci.yaml
|
||||
|
||||
release:
|
||||
name: Release
|
||||
runs-on: ubuntu-latest
|
||||
environment: release
|
||||
needs: tests
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue