Skip to content

Commit

Permalink
Merge pull request #458 from StefanMaron/development
Browse files Browse the repository at this point in the history
Build using Release configuration
  • Loading branch information
Arthurvdv authored Dec 19, 2023
2 parents 515b9d4 + b08f7fa commit ede79cb
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@ jobs:
("Version(""" + ('${{ steps.create_release.outputs.tag_name }}'
-replace "v","") + """)]") | Out-File AssemblyInfo.cs
- name: Build current
run: dotnet build --no-restore
run: dotnet build --no-restore --configuration Release
- name: Upload a Build current
uses: actions/[email protected]
with:
name: BusinessCentral.LinterCop.current.dll
path: bin/Debug/netstandard2.1/BusinessCentral.LinterCop.dll
path: bin/Release/netstandard2.1/BusinessCentral.LinterCop.dll
- name: Remove a Release Asset current
uses: flcdrg/[email protected]
env:
Expand All @@ -86,23 +86,23 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/Debug/netstandard2.1/BusinessCentral.LinterCop.dll
asset_path: bin/Release/netstandard2.1/BusinessCentral.LinterCop.dll
asset_name: BusinessCentral.LinterCop.current.dll
asset_content_type: application/octet-stream
- name: Clear Build output
run: Remove-Item -Path "bin/Debug" -Force -Recurse -Verbose;
run: Remove-Item -Path "bin/Release" -Force -Recurse -Verbose;
- name: Unzip vsix next
run: >
Remove-Item -Path "ms-dynamics-smb.al-latest" -Force -Recurse -Verbose;
7z x "ALLanguage_next.vsix" "-oms-dynamics-smb.al-latest" extension\bin\Analyzers -r;
- name: Build next
run: dotnet build --no-restore
run: dotnet build --no-restore --configuration Release

- name: Upload a Build next
uses: actions/[email protected]
with:
name: BusinessCentral.LinterCop.next.dll
path: bin/Debug/netstandard2.1/BusinessCentral.LinterCop.dll
path: bin/Release/netstandard2.1/BusinessCentral.LinterCop.dll
- name: Remove a Release Asset next
uses: flcdrg/[email protected]
env:
Expand All @@ -117,6 +117,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: bin/Debug/netstandard2.1/BusinessCentral.LinterCop.dll
asset_path: bin/Release/netstandard2.1/BusinessCentral.LinterCop.dll
asset_name: BusinessCentral.LinterCop.next.dll
asset_content_type: application/octet-stream

0 comments on commit ede79cb

Please sign in to comment.