Skip to content

Commit

Permalink
Update nixbin.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
arcbtc authored Aug 28, 2024
1 parent 10bd6b2 commit ab5afe5
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/nixbin.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
name: Build Nix Binary and Create Bash Script

on:
workflow_call:
inputs:
branch:
description: 'The branch to build from'
required: true
default: 'main'
type: string # Define the input type as 'string'
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
Expand All @@ -16,8 +15,6 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: ${{ inputs.branch }}

- name: Install Nix
run: |
Expand All @@ -34,8 +31,6 @@ jobs:
- name: Build LNbits using Nix
run: |
source /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
git clone https://github.com/arcbtc/lnbits.git
cd lnbits
nix build
mkdir -p $GITHUB_WORKSPACE/data
Expand Down

0 comments on commit ab5afe5

Please sign in to comment.