diff options
| author | Dan Engelbrecht <[email protected]> | 2022-05-24 00:13:33 +0200 |
|---|---|---|
| committer | Dan Engelbrecht <[email protected]> | 2022-06-02 00:35:50 +0200 |
| commit | 87c168c144feccdeaec0afc47403eaca19938599 (patch) | |
| tree | ea7e2f7086f0c764d17d072bcf7d0ecedda66cbb /.github/workflows | |
| parent | 7z path (diff) | |
| download | zen-87c168c144feccdeaec0afc47403eaca19938599.tar.xz zen-87c168c144feccdeaec0afc47403eaca19938599.zip | |
skip windows until we can run 7z
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/create_release.yml | 100 |
1 files changed, 48 insertions, 52 deletions
diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml index 91aced35f..97fd87d1e 100644 --- a/.github/workflows/create_release.yml +++ b/.github/workflows/create_release.yml @@ -7,52 +7,47 @@ on: - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 jobs: - bundle-windows: - - runs-on: [self-hosted, windows, x64] - - env: - VCPKG_VERSION: 2022.03.10 - - steps: - - name: Update path for 7zip - run: | - echo "C:\Program Files\7-Zip" >> $GITHUB_PATH - 7z - - - uses: actions/checkout@v2 - - - name: Setup xmake - uses: xmake-io/github-action-setup-xmake@v1 - with: - xmake-version: 2.6.4 - - - name: Installing vcpkg - run: | - git clone -b ${{env.VCPKG_VERSION}} --single-branch https://github.com/Microsoft/vcpkg.git .vcpkg - cd .vcpkg - .\bootstrap-vcpkg.bat - .\vcpkg.exe integrate install - cd .. - - - name: Cache vcpkg - uses: actions/cache@v2 - with: - path: | - ${{ github.workspace }}\.vcpkg\installed - key: ${{ runner.os }}-release-${{env.VCPKG_VERSION}}-${{ hashFiles('xmake.lua') }}-x64-v5 - - - name: Bundle - run: | - xmake bundle -v -y - env: - VCPKG_ROOT: ${{ github.workspace }}/.vcpkg - - - uses: actions/upload-artifact@v3 - name: upload artifacts - with: - name: zenserver-win64 - path: build/zenserver-win64.zip +# bundle-windows: +# +# runs-on: [self-hosted, windows, x64] +# +# env: +# VCPKG_VERSION: 2022.03.10 +# +# steps: +# - uses: actions/checkout@v2 +# +# - name: Setup xmake +# uses: xmake-io/github-action-setup-xmake@v1 +# with: +# xmake-version: 2.6.4 +# +# - name: Installing vcpkg +# run: | +# git clone -b ${{env.VCPKG_VERSION}} --single-branch https://github.com/Microsoft/vcpkg.git .vcpkg +# cd .vcpkg +# .\bootstrap-vcpkg.bat +# .\vcpkg.exe integrate install +# cd .. +# +# - name: Cache vcpkg +# uses: actions/cache@v2 +# with: +# path: | +# ${{ github.workspace }}\.vcpkg\installed +# key: ${{ runner.os }}-release-${{env.VCPKG_VERSION}}-${{ hashFiles('xmake.lua') }}-x64-v5 +# +# - name: Bundle +# run: | +# xmake bundle -v -y +# env: +# VCPKG_ROOT: ${{ github.workspace }}/.vcpkg +# +# - uses: actions/upload-artifact@v3 +# name: upload artifacts +# with: +# name: zenserver-win64 +# path: build/zenserver-win64.zip bundle-linux: runs-on: [self-hosted, linux, x64] @@ -102,7 +97,8 @@ jobs: create-release: runs-on: ubuntu-latest - needs: [bundle-linux, bundle-windows] +# needs: [bundle-linux, bundle-windows] + needs: [bundle-linux] steps: - name: Download Linux artifacts uses: actions/download-artifact@v1 @@ -110,11 +106,11 @@ jobs: name: zenserver-linux path: zenserver-linux.zip - - name: Download Windows artifacts - uses: actions/download-artifact@v1 - with: - name: zenserver-win64 - path: zenserver-win64.zip +# - name: Download Windows artifacts +# uses: actions/download-artifact@v1 +# with: +# name: zenserver-win64 +# path: zenserver-win64.zip - name: Check prerelease id: get-prerelease |