Skip to content

Commit 56e1bce

Browse files
committed
Build with Github Actions.
1 parent d4b3721 commit 56e1bce

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/build.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: build and bundle
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build-and-bundle:
7+
name: build
8+
if: >-
9+
github.event_name == 'push' ||
10+
github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
11+
12+
runs-on: macos-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
with:
16+
fetch-depth: 0 # fetch tags
17+
- run: ./bootstrap.sh
18+
- run: ./build.sh
19+
- run: ./bundle.sh
20+
- run: ./release.sh _build/pythonbase.app $(git describe --tags)
21+
- run: rm -Rf _build/pythonbase.app/ _build/run-*
22+
- uses: actions/upload-artifact@v3
23+
with:
24+
name: bundle
25+
path: /Users/runner/work/gpodder-osx-bundle/gpodder-osx-bundle/_build
26+
retention-days: 30

0 commit comments

Comments
 (0)