-
Notifications
You must be signed in to change notification settings - Fork 3
39 lines (35 loc) · 925 Bytes
/
build-linux.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# -----------------------------------------------------------------------------
# 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@v3
- 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