mirror of
https://github.com/uroesch/GitPortable.git
synced 2026-08-24 10:04:09 -05:00
40 lines
925 B
YAML
40 lines
925 B
YAML
# -----------------------------------------------------------------------------
|
|
# Build workflow for portable apps
|
|
# Author: Urs Roesch https://github.com/uroesch
|
|
# Version: 0.11.0
|
|
# -----------------------------------------------------------------------------
|
|
name: build-linux
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- workflow/*
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
- main
|
|
|
|
jobs:
|
|
build-linux:
|
|
if: endsWith(github.repository, 'Portable')
|
|
timeout-minutes: 15
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: uroesch/pa-wine:latest
|
|
env:
|
|
RUN_AS_ROOT: yes
|
|
strategy:
|
|
fail-fast: false
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Run build script via docker
|
|
shell: bash
|
|
run: |
|
|
/entrypoint.sh \
|
|
/usr/bin/pwsh -ExecutionPolicy ByPass \
|
|
Other/Update/Update.ps1 -InfraDir /pa-build
|
|
timeout-minutes: 10
|