aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-10-16 15:03:31 +0500
committerEgor Tensin <egor@tensin.name>2026-10-16 15:03:31 +0500
commit5aabad2cf85a01c68aef23332e78dc48c2f1aaa3 (patch)
treece4070f816d3bcb15ccd43d9ae68dcf723cb54f8 /.github
parentworkflows/test: ignore all Markdown files (diff)
downloadsetup-clang-5aabad2cf85a01c68aef23332e78dc48c2f1aaa3.tar.gz
setup-clang-5aabad2cf85a01c68aef23332e78dc48c2f1aaa3.zip
workflows/test: add a release job
Diffstat (limited to '.github')
-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 e89d41c..32ba661 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -37,7 +37,7 @@ jobs:
- name: Check lld
uses: ./.github/actions/check-lld
- versions:
+ test_versions:
needs: test
strategy:
# A weak attempt to please Ubuntu servers:
@@ -75,3 +75,18 @@ jobs:
uses: ./.github/actions/check-lld
with:
version: '${{ matrix.version }}'
+
+ release:
+ if: github.ref_type == 'tag'
+ name: Release
+ runs-on: ubuntu-latest
+ needs:
+ - test
+ - test_versions
+ permissions:
+ contents: write
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v7
+ - name: Release
+ uses: softprops/action-gh-release@v3