From b2406dcb94c70b5a051a7c4cf7fb2a39941f1c3a Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 16 Oct 2026 15:00:06 +0500 Subject: workflows/test: add a release job --- .github/workflows/test.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) 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 -- cgit v1.3