aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2022-05-26 00:42:33 +0200
committerDan Engelbrecht <[email protected]>2022-06-02 00:35:51 +0200
commit8314e9721e37ffe72cbb8bae2bc4680c64399a0a (patch)
tree063f46818adf223110f002029182046aa4922a75 /.github/workflows
parentgo back to skipping windows bundle on release (diff)
downloadzen-8314e9721e37ffe72cbb8bae2bc4680c64399a0a.tar.xz
zen-8314e9721e37ffe72cbb8bae2bc4680c64399a0a.zip
remove windows bundle
cancel previous validate for same branch (not main)
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/validate.yml37
1 files changed, 24 insertions, 13 deletions
diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml
index 59354161f..b715a8c63 100644
--- a/.github/workflows/validate.yml
+++ b/.github/workflows/validate.yml
@@ -6,6 +6,17 @@ on:
branches: [ main ]
jobs:
+ cancel-old-build:
+ name: Cancel previous builds
+ runs-on: [self-hosted, linux, x64]
+
+ steps:
+ - name: Cancel Previous Runs
+ if: ${{ github.ref_name != 'main'}}
+ uses: styfle/[email protected]
+ with:
+ access_token: ${{ github.token }}
+
clang-format:
name: Check clang-format
runs-on: [self-hosted, linux, x64]
@@ -58,19 +69,19 @@ jobs:
${{ github.workspace }}\.vcpkg\installed
key: ${{ runner.os }}-${{ matrix.config }}-${{env.VCPKG_VERSION}}-${{ hashFiles('xmake.lua') }}-${{ matrix.arch }}-v5
- - name: Bundle
- if: ${{ github.ref_name == 'main'}}
- run: |
- xmake bundle -v -y
- env:
- VCPKG_ROOT: ${{ github.workspace }}/.vcpkg
-
- - name: Upload zenserver-linux
- if: ${{ github.ref_name == 'main'}}
- uses: actions/upload-artifact@v3
- with:
- name: zenserver-linux
- path: build/zenserver-linux.zip
+# - name: Bundle
+# if: ${{ github.ref_name == 'main'}}
+# run: |
+# xmake bundle -v -y
+# env:
+# VCPKG_ROOT: ${{ github.workspace }}/.vcpkg
+#
+# - name: Upload zenserver-linux
+# if: ${{ github.ref_name == 'main'}}
+# uses: actions/upload-artifact@v3
+# with:
+# name: zenserver-linux
+# path: build/zenserver-linux.zip
- name: Config
run: |