-
-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (43 loc) · 1.24 KB
/
blank.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
40
41
42
43
44
45
46
47
48
49
50
name: build-portable
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run:
sudo apt-get update ;
DEBIAN_FRONTEND=noninteractive sudo apt install build-essential
- name: Prepare p7zip source code
run: |
wget https://github.com/jbdemonte/p7zip/archive/refs/tags/16.02.tar.gz
tar -xf 16.02.tar.gz
mkdir $HOME/p7zip_standalone
cd p7zip-16.02
- name: Clean build dir
run: cd p7zip-16.02 && make clean
- name: Build p7zip
run: |
cd p7zip-16.02
make all3
cd bin
tar cJvf $HOME/p7zip.tar.xz *
- name: Upload a Build Artifact
uses: actions/[email protected]
with:
path:
"/home/runner/p7zip/"
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
draft: false
prerelease: false
automatic_release_tag: 16.02
title: 16.02
files: |
/home/runner/p7zip.tar.xz