Skip to content

create a build artifact #6

create a build artifact

create a build artifact #6

Workflow file for this run

name: .NET
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Fetch history
run: git fetch --prune --unshallow
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: |
dotnet restore src/S7CommPlusDriver
dotnet restore src/DriverTest
dotnet restore src/S7CommPlusGUIBrowser
- name: Build
run: |
dotnet build src/S7CommPlusDriver
dotnet build src/DriverTest
dotnet build src/S7CommPlusGUIBrowser
- uses: actions/upload-artifact@v4
path: src/S7CommPlusDriver/bin/Debug/*.nupkg

Check failure on line 34 in .github/workflows/dotnet.yml

View workflow run for this annotation

GitHub Actions / .NET

Invalid workflow file

The workflow is not valid. .github/workflows/dotnet.yml (Line: 34, Col: 7): Unexpected value 'path'