Skip to content

Commit

Permalink
Update build-dotnet-desktop.yml
Browse files Browse the repository at this point in the history
fine-tuning filenaming
  • Loading branch information
AndrewDemski-ad-gmail-com committed Jan 17, 2024
1 parent 196e0b0 commit 37a0717
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions .github/workflows/build-dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,22 +130,30 @@ jobs:
# run: Remove-Item -path $env:Wap_Project_Directory\GitHubActionsWorkflow.pfx

# I have no idea how the output folder structure is organized, therfore i spam dirs
- name: list dirs
run: |
Get-ChildItem -Path .\
Get-ChildItem -Path .\bin
#- name: list dirs
# run: |
# Get-ChildItem -Path .\
# Get-ChildItem -Path .\bin

# Upload the MSIX package: https://github.com/marketplace/actions/upload-a-build-artifact
# Upload the artifacts to run artefacts
# extension will be always zip, so skip it
# https://github.com/marketplace/actions/upload-a-build-artifact
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: InvisiLauncher-win-x64-${{ matrix.configuration }}.zip
name: InvisiLauncher-win-x64-${{ matrix.configuration }}
path: .\bin\${{ matrix.configuration }}\net8.0-windows

# compress run artefacts and store them in workdir so the "automatic-release action can pick them up"
- name: zip it
run: |
Compress-Archive .\bin\${{ matrix.configuration }}\net8.0-windows InvisiLauncher-win-x64-${{ matrix.configuration }}.zip
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
prerelease: false
title: "Development Build"
files: InvisiLauncher-win-x64-${{ matrix.configuration }}.zip

0 comments on commit 37a0717

Please sign in to comment.