diff --git a/.github/workflows/build-and-release.yaml b/.github/workflows/build-and-release.yaml index 73c654b1e..82ce10164 100644 --- a/.github/workflows/build-and-release.yaml +++ b/.github/workflows/build-and-release.yaml @@ -57,9 +57,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/download-artifact@v4 with: - pattern: | - entropy_${{ needs.build.outputs.git_ref_basename }}* - entropy-tss_${{ needs.build.outputs.git_ref_basename }}* + pattern: "!*.dockerbuild" - name: Create release env: GH_TOKEN: ${{ github.token }} diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 000000000..ff98a20f6 --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,33 @@ +--- +name: Test patterns +run-name: Test patterns (started by @${{ github.triggering_actor }}) + +on: + push: + tags: + - test/patterns/** + +jobs: + + git-ref-basename: + uses: ./.github/workflows/git-ref-basename.yaml + + + test-pattern: + name: Test glob patterns + needs: + - git-ref-basename + permissions: + contents: write + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v4 + - uses: actions/upload-artifact@v4 + with: + name: test-pattern + path: | + docker-compose-common.yaml + docker-compose.yaml + - uses: actions/download-artifact@v4 + with: + pattern: "!test*"