Require tests pass before publishing new version
All checks were successful
Run Tests / run-tests (push) Successful in 38s
All checks were successful
Run Tests / run-tests (push) Successful in 38s
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
name: Build & Release
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '[0-9]+.[0-9]+.[0-9]+'
|
||||
workflow_run:
|
||||
workflows: [ "Run Tests" ]
|
||||
types:
|
||||
- completed
|
||||
|
||||
env:
|
||||
ENDPOINT: services-3
|
||||
@@ -15,6 +16,7 @@ env:
|
||||
jobs:
|
||||
|
||||
build-docker-image:
|
||||
if: ${{ gitea.event.workflow_run.conclusion == 'success' && gitea.ref_type == 'tag' }}
|
||||
runs-on: node20
|
||||
container:
|
||||
image: catthehacker/ubuntu:act-24.04
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
name: Run Tests
|
||||
on:
|
||||
push: {}
|
||||
workflow_dispatch:
|
||||
env:
|
||||
RUNNER_TOOL_CACHE: /toolcache
|
||||
jobs:
|
||||
|
||||
Reference in New Issue
Block a user