Skip to content

Commit

Permalink
Update ci-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
deejaygraham authored Jun 24, 2024
1 parent a2f27dd commit 8550ed9
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ on:

env:
DOTNET_VERSION: '8.0.x'
CONFIGURATION: 'Release'

jobs:
build:
Expand All @@ -22,25 +21,11 @@ jobs:
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: Set Build number
id: build-id
run: echo "BUILD_ID=${{ github.ref_name }}_$(date +'%Y%j').${{github.run_attempt}}" >> "$GITHUB_OUTPUT"
- name: Setup DotNet ${{ env.DOTNET_VERSION }} Environment
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: ♻ Restore dependencies
run: dotnet restore
- name: 👷‍♀️ Build ${{ github.ref_name }} branch ${{ steps.build-id.outputs.BUILD_ID }}
run: dotnet build --no-restore --configuration ${{ env.CONFIGURATION }}
- name: 🧪 Test
run: dotnet test --no-build --verbosity normal
- name: 📦 Publish
run: dotnet publish --no-restore --no-build --configuration ${{ env.CONFIGURATION }} --output ./output
- name: 🚀 Upload Build Artifacts
id: upload-artifact
uses: actions/upload-artifact@v4
with:
name: NDifference
path: ./output/**
if-no-files-found: error

0 comments on commit 8550ed9

Please sign in to comment.