diff options
| -rw-r--r-- | .github/workflows/test.yml | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a2a6f5d..b1035f5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,7 +41,7 @@ jobs: - name: Check cc/c++ uses: ./.github/actions/check-cc - different_versions: + test_windows_versions: strategy: matrix: version: @@ -72,3 +72,18 @@ jobs: & '${{ steps.setup.outputs.gxx }}' -std=c++14 -o (Join-Path . test threads) (Join-Path . test threads.cpp) - name: Run threads.exe uses: ./.github/actions/run-threads + + release: + if: github.ref_type == 'tag' + name: Release + runs-on: ubuntu-latest + needs: + - test + - test_windows_versions + permissions: + contents: write + steps: + - name: Checkout + uses: actions/checkout@v7 + - name: Release + uses: softprops/action-gh-release@v3 |
