Skip to content

0041

0041 #41

Workflow file for this run

name: Build & Release
on:
workflow_dispatch:
push:
branches:
- main
release:
types: [published]
jobs:
build:
name: Build Package
strategy:
fail-fast: false
matrix:
P4D_VERSION: ["23.1", "23.2", "24.1"]
DSM_VERSION: ["7.1", "7.2"]
include:
- SPK_PLATFORM: braswell
SPK_ARCH: x86_64
uses: ./.github/workflows/build-package.yml
with:
P4D_VERSION: ${{ matrix.P4D_VERSION }}
DSM_VERSION: ${{ matrix.DSM_VERSION }}
SPK_PLATFORM: ${{ matrix.SPK_PLATFORM }}
SPK_ARCH: ${{ matrix.SPK_ARCH }}
release:
name: Upload Packages in Github Release
needs: build
if: github.event_name == 'release'
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
with:
path: packages
- name: Upload artifacts
uses: softprops/action-gh-release@v2
with:
files: |
packages/HelixCoreServer-*/HelixCoreServer-*.spk