Skip to content

v1.3.3

v1.3.3 #259

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-builder:v2' }
- { name: 'Linux ARM', runner: 'ubuntu-20.04', target: 'linux-arm', builder: 'openziti/ziti-builder:v2' }
- { name: 'Linux ARM64', runner: 'ubuntu-20.04', target: 'linux-arm64', builder: 'openziti/ziti-builder:v2' }
- { name: 'MacOS x86_64', runner: 'macOS-13', target: 'macOS-x64' }
- { name: 'MacOS arm64', runner: 'macOS-13', 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/setup-msbuild@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: run build for ${{ matrix.spec.target }}
uses: ./.github/actions/build
with:
target: ${{ matrix.spec.target }}
test: false
config: RelWithDebInfo
- 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@v4
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@v4
with:
name: ziti-sdk-${{ matrix.spec.target }}
path: ./build/package/ziti-sdk-*