Skip to content

v0.34.0

v0.34.0 #168

Workflow file for this run

name: Publish Release
on:
workflow_dispatch:
release:
types: [ published ]
jobs:
build:
name: ${{ matrix.spec.name }}
runs-on: ${{ matrix.spec.runner }}
container:
image: ${{ matrix.spec.builder }}
env:
BUILD_NUMBER: ${{ github.run_number }}
strategy:
fail-fast: false
matrix:
spec:
- { name: 'Linux x86_64', runner: 'ubuntu-20.04', target: 'linux-x64', builder: 'openziti/ziti-cmake' }
- { name: 'Linux ARM', runner: 'ubuntu-20.04', target: 'linux-arm', builder: 'openziti/ziti-cmake' }
- { name: 'Linux ARM64', runner: 'ubuntu-20.04', target: 'linux-arm64', builder: 'openziti/ziti-cmake' }
- { name: 'MacOS x86_64', runner: 'macOS-11', target: 'macOS-x64' }
- { name: 'MacOS arm64', runner: 'macOS-11', target: 'macOS-arm64' }
- { name: 'Windows x86_64', runner: 'windows-2022', target: 'windows-x64' }
- { name: 'Windows ARM64', runner: 'windows-2022', target: 'windows-arm64' }
steps:
- name: Add msbuild to PATH
if: startsWith(matrix.spec.runner, 'windows')
uses: microsoft/[email protected]
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: run build for ${{ matrix.spec.target }}
uses: ./.github/actions/build
with:
target: ${{ matrix.spec.target }}
test: false
config: Release
- name: upload SDK release bundle
uses: softprops/[email protected]
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
./build/package/ziti-sdk*
./build/programs/ziti-prox-c/ziti-prox-c-*.zip
- name: "upload pre-release artifacts: ziti-prox-c"
uses: actions/upload-artifact@v3
with:
name: ziti-prox-c-${{ matrix.spec.target }}
path: ./build/programs/ziti-prox-c/**/ziti-prox-c*.zip
- name: upload SDK pre-release artifacts
uses: actions/upload-artifact@v3
with:
name: ziti-sdk-${{ matrix.spec.target }}
path: ./build/package/ziti-sdk-*