Skip to content

Commit

Permalink
Resuable workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Bock <[email protected]>
  • Loading branch information
nicolasbock committed Jul 10, 2024
1 parent 4d73d4e commit 1f73178
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/ghcr-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ env:
IMAGE_NAME: ${{ github.repository }}

jobs:
build-and-test:
uses: ./.github/workflows/test-and-build.yaml

ghcr-publish:
runs-on: ubuntu-latest
permissions:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test-and-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ on:
branches:
- main
workflow_dispatch:
workflow_call:

jobs:
test:
build-and-test:
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit 1f73178

Please sign in to comment.