Skip to content

Commit

Permalink
Create GitHub Action for building
Browse files Browse the repository at this point in the history
  • Loading branch information
lukegb committed Nov 13, 2022
1 parent daf68d1 commit 484f093
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: "Build"
on:
pull_request:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v18
- uses: cachix/cachix-action@v12
with:
name: pebble
skipPush: true
- name: Perform build
run: |
set -euxo pipefail
OUT_PATH="$(nix-build)"
mkdir dist
cp -r $OUT_PATH/* dist/
- name: Archive pbw
uses: actions/upload-artifact@v2
with:
name: skunk.pbw
path: dist/skunk.pbw
- name: Archive appstore bundle
uses: actions/upload-artifact@v2
with:
name: skunk-appstore-bundle.tar.gz
path: dist/appstore-bundle.tar.gz

0 comments on commit 484f093

Please sign in to comment.