Skip to content
This repository has been archived by the owner on Apr 29, 2021. It is now read-only.

Commit

Permalink
Now generating and uploading the artifacts for the release build.
Browse files Browse the repository at this point in the history
  • Loading branch information
camrein committed Feb 4, 2021
1 parent 5fe7ffc commit f6327d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dotnet-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,14 @@ jobs:
with:
file: ./${{env.coverageFile}}
- name: Prepare Artifacts
if: ${{github.ref == 'refs/heads/master'}}
if: ${{github.ref == 'refs/heads/master' || contains(github.ref, 'refs/tags/')}}
shell: pwsh
run: |
dotnet publish --configuration Release --no-restore -p:SatelliteResourceLanguages=en --output ${{env.publishPath}} dafny/Source/DafnyDriver/DafnyDriver.csproj
dotnet publish --configuration Release --no-restore -p:SatelliteResourceLanguages=en --output ${{env.publishPath}} Source/DafnyLS/DafnyLS.csproj
Copy-Item ${{matrix.z3}} ${{env.publishPath}}/z3 -Recurse
- name: Upload Artifacts
if: ${{github.ref == 'refs/heads/master'}}
if: ${{github.ref == 'refs/heads/master' || contains(github.ref, 'refs/tags/')}}
uses: actions/upload-artifact@v2
with:
name: ${{env.artifactName}}
Expand Down

0 comments on commit f6327d2

Please # to comment.