Skip to content

Github Action Build

Github Action Build #5

Workflow file for this run

name: Build
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs:
build:
runs-on: macos-14
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: dotnet build -p:GITHUB_ACCESS_TOKEN=${{ secrets.GITHUB_TOKEN }} -p:Laerdal_Package_Output=${GITHUB_WORKSPACE}/artifacts
shell: bash
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publish Artifact
uses: actions/upload-artifact@v4
with:
name: output
path: ${GITHUB_WORKSPACE}/artifacts
if-no-files-found: error