name: Build Windows Portable Package on: release: types: [published] workflow_dispatch: jobs: portable: # Configure the Gitea runner with the `windows-host` label. runs-on: windows-host defaults: run: shell: powershell steps: - name: Checkout source and pinned n2n dependency uses: actions/checkout@v4 with: submodules: true - name: Build and test run: .\scripts\build.ps1 -Clean - name: Upload portable package uses: actions/upload-artifact@v4 with: name: super-n2n-${{ github.sha }} path: | release/super-n2n-portable-*.zip release/super-n2n-portable-*.zip.sha256 if-no-files-found: error