Skip to content

fix publish workflow #3

fix publish workflow

fix publish workflow #3

Workflow file for this run

name: Build
on:
# Trigger the workflow on pushes to only the 'main' branch (this avoids duplicate checks being run e.g., for dependabot pull requests)
push:
branches: [ main ]
# Trigger the workflow on any pull request
pull_request:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Fetch Sources
uses: actions/checkout@v4
with:
fetch-depth: 0
filter: tree:0
submodules: recursive
- name: Setup .NET environment
uses: actions/setup-dotnet@v3
with:
dotnet-version: "8.0.100"
- name: Restore project
run: |
dotnet restore
dotnet tool restore
- name: Build MSBuild tasks
run: |
dotnet build -c BuildTasks
- name: Build and pack solution
run: |
dotnet build -c Release
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: build-artifacts
path: ./*/dist/*.zip