diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6e49b4f..f600ba6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,9 +1,9 @@ -name: Release +name: Test and Release on: push: tags: - - '*' + - '**' workflow_dispatch: jobs: @@ -40,6 +40,25 @@ jobs: cd build make + - name: Test + run: | + cd build + ./tests.exe + + release: + needs: build + runs-on: windows-latest + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Download build artifacts + uses: actions/download-artifact@v3 + with: + name: build-artifacts + path: ./build/ + - name: Release uses: softprops/action-gh-release@v1 with: