Skip to content

Bump System.CommandLine from 2.0.0 to 2.0.1 #180

Bump System.CommandLine from 2.0.0 to 2.0.1

Bump System.CommandLine from 2.0.0 to 2.0.1 #180

Workflow file for this run

name: Build AliceConsole
on:
push:
branches: [ main ]
paths-ignore:
- "**.md"
pull_request:
branches: [ main ]
paths-ignore:
- "**.md"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rid: [win-x64, win-x86, win-arm64, osx-x64, osx-arm64, linux-x64, linux-arm64]
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Publish
run: |
dotnet publish src/AliceConsole/AliceConsole.csproj -c Release -o ${{ matrix.rid }} -r ${{ matrix.rid }} --self-contained true -p:PublishReadyToRun=false -p:PublishTrimmed=true
# Not included in Artifacts
- name: Pack
run: |
dotnet pack src/AliceConsole/AliceConsole.csproj
- name: Copy anov file
run: |
cp src/AliceConsole/sample.anov ${{ matrix.rid }}
# Upload Artifacts
- name: 'Upload Artifact: ${{ matrix.rid }}'
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.rid }}
path: ${{ matrix.rid }}