Release v2.14.19-uroesch #86
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ----------------------------------------------------------------------------- | |
# Build workflow for portable apps | |
# Author: Urs Roesch https://github.com/uroesch | |
# Version: 0.10.0 | |
# ----------------------------------------------------------------------------- | |
name: build-windows | |
on: | |
push: | |
branches: | |
- workflow/* | |
pull_request: | |
branches: | |
- master | |
- main | |
jobs: | |
build-windows: | |
if: endsWith(github.repository, 'Portable') | |
timeout-minutes: 15 | |
runs-on: windows-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Clone PortableApps.comInstaller | |
uses: actions/checkout@v4 | |
with: | |
repository: uroesch/PortableApps.comInstaller | |
ref: main | |
path: PortableApps.comInstaller | |
- name: Clone PortableApps.comLauncher | |
uses: actions/checkout@v4 | |
with: | |
repository: uroesch/PortableApps.comLauncher | |
ref: patched | |
path: PortableApps.comLauncher | |
- name: Move installer and launcher | |
shell: bash | |
run: mv ./PortableApps.com{Installer,Launcher} ../ | |
- name: Run build script Update.ps1 | |
run: pwsh -ExecutionPolicy ByPass -File Other/Update/Update.ps1 | |
timeout-minutes: 10 | |
- name: Collect logs on failure | |
if: failure() | |
shell: bash | |
run: | | |
mkdir ../artifacts | |
cp ../PortableApps.com*/Data/*Log.txt ../artifacts | |
- name: Upload artifacts on failure | |
if: failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: logs.zip | |
path: ../artifacts |