summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-10-16 15:00:06 +0500
committerEgor Tensin <egor@tensin.name>2026-10-16 15:00:06 +0500
commitb2406dcb94c70b5a051a7c4cf7fb2a39941f1c3a (patch)
tree97ea9124b1fc15ee8a1ef0a53822595e51dd200c
parentupdate my email (diff)
downloadsetup-mingw-b2406dcb94c70b5a051a7c4cf7fb2a39941f1c3a.tar.gz
setup-mingw-b2406dcb94c70b5a051a7c4cf7fb2a39941f1c3a.zip
workflows/test: add a release job
-rw-r--r--.github/workflows/test.yml17
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