Skip to content

Merge pull request #24 from atticus-lv/develop #26

Merge pull request #24 from atticus-lv/develop

Merge pull request #24 from atticus-lv/develop #26

Workflow file for this run

name: publish demo
on:
push:
branches: [ "master" ]
paths-ignore:
- 'README.md'
jobs:
windows:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Make upload directory
run: mkdir upload
- name: Publish win-x64
run: dotnet publish src/VirtualStreetSnap -c Release -r win-x64 --self-contained -p:PublishAot=true
- name: Zip win-x64
run: |
$files = Get-ChildItem -Path ./src/VirtualStreetSnap/bin/Release/net8.0/win-x64/publish/* -Recurse -Exclude *.pdb
Compress-Archive -Path $files.FullName -DestinationPath ./upload/VirtualStreetSnap.win-x64.aot.zip
- name: Upload a Build Artifact
uses: actions/[email protected]
with:
name: VirtualStreetSnap
path: ./upload/VirtualStreetSnap.win-x64.aot.zip