1 Commits
0.1.1 ... 0.1.3

Author SHA1 Message Date
18a0bd77bd Require tests pass before publishing new version
All checks were successful
Run Tests / run-tests (push) Successful in 44s
2026-05-02 15:48:44 +02:00
2 changed files with 11 additions and 2 deletions

View File

@@ -1,7 +1,8 @@
name: Build & Release
on:
workflow_run:
workflows: [ "Run Tests" ]
workflows:
- "Run Tests"
types:
- completed
@@ -15,8 +16,13 @@ env:
jobs:
build-branch:
runs-on: node20
steps:
- run: echo "${{ gitea.event.workflow_run.head_branch }}"
build-docker-image:
if: ${{ gitea.event.workflow_run.conclusion == 'success' && gitea.ref_type == 'tag' }}
if: ${{ gitea.event.workflow_run.conclusion == 'success' && startsWith(gitea.event.workflow_run.head_branch, 'refs/tag') }}
runs-on: node20
container:
image: catthehacker/ubuntu:act-24.04
@@ -25,6 +31,7 @@ jobs:
uses: actions/checkout@v4
with:
ssh-key: ${{ secrets.SSH_JOHN_PRIVATE_KEY }}
ref: ${{ gitea.event.workflow_run.head_branch }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Devsoap Container Registry

View File

@@ -2,8 +2,10 @@ name: Run Tests
on:
push: {}
workflow_dispatch:
env:
RUNNER_TOOL_CACHE: /toolcache
jobs:
run-tests:
runs-on: python