Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
GGielok authored Jun 11, 2024
1 parent 6fe94e0 commit aaa5397
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,26 @@ jobs:
echo "Error: CriticalIssueCount or MajorIssueCount is not 0"
exit 1
fi
CD:
runs-on: windows-latest
# CI is the name of the previous job. If the CI job fails, then this job will not be executed.
needs: CI
steps:
- uses: actions/checkout@v4

# Install the Packager .NET tool so we can create a dmprotocol package from the connector solution.
- name: Install Package Creation
run: dotnet tool install -g Skyline.DataMiner.CICD.Tools.Packager

# Run the Packager .NET tool to create a dmprotocol package.
- name: Create Protocol Package
run: dataminer-package-create dmprotocol "${{ github.workspace }}" --name "protocol" --output "${{ github.workspace }}\\_PackageResults"

# Archive the dmprotocol package so you can access it via the UI.
- name: Archive Package
if: success()
uses: actions/upload-artifact@v4
with:
name: packageResults
path: ${{ github.workspace }}\\_PackageResults\\*

0 comments on commit aaa5397

Please sign in to comment.