Skip to content

Commit

Permalink
update artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
WardenDrew authored May 21, 2021
1 parent 32fd242 commit b30c377
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,11 @@ jobs:
$pfx_cert_byte = [System.Convert]::FromBase64String("${{ secrets.Base64_Encoded_Pfx }}")
[IO.File]::WriteAllBytes("GitHubActionsWorkflow.pfx", $pfx_cert_byte)
# Restore Packages
- name: Restore Packages
run: msbuild $env:Solution_Name /t:Restore

# Create the app package by building and packaging the Windows Application Packaging project
# Build the Project
- name: Create the app package
run: msbuild $env:Solution_Name /t:Build /p:OutDir=outdir\ /p:Configuration=Release /p:PackageCertificateKeyFile=GitHubActionsWorkflow.pfx /p:PackageCertificatePassword=${{ secrets.Pfx_Key }}
env:
Expand All @@ -89,16 +90,9 @@ jobs:
- name: Remove the pfx
run: Remove-Item -path GitHubActionsWorkflow.pfx

# Add EasyZip
- name: Easy Zip Files
uses: vimtor/action-zip@v1
with:
files: outdir/
dest: ClockifyHelper.zip

# Upload the MSIX package: https://github.com/marketplace/actions/upload-artifact
# Upload the ZIP
- name: Upload build artifacts
uses: actions/upload-artifact@v2
with:
name: ClockifyHelper
path: ClockifyHelper.zip
path: outdir\

0 comments on commit b30c377

Please sign in to comment.