Skip to content

Commit

Permalink
use ubuntu to build
Browse files Browse the repository at this point in the history
  • Loading branch information
ananthakumaran committed Jun 27, 2023
1 parent 8cfd2a1 commit 0acb893
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: cachix/install-nix-action@v20
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: actions/setup-go@v3
with:
nix_path: nixpkgs=channel:nixos-unstable
go-version: '1.20.5'
- run: |
nix develop --command npm install
nix develop --command npm run build
nix develop --command go build
sudo apt-get install -y sqlite3
npm install
npm run build
go build
cp paisa paisa-linux-amd64
- name: Release
uses: softprops/action-gh-release@v1
Expand Down Expand Up @@ -55,7 +59,7 @@ jobs:
node-version: 18
- uses: actions/setup-go@v3
with:
go-version: '1.18.1'
go-version: '1.20.5'
- run: |
choco install sqlite
npm install
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/ananthakumaran/paisa

go 1.18
go 1.20

require (
github.com/ChizhovVadim/xirr v0.0.0-20210210181856-508bc36c62aa
Expand Down

0 comments on commit 0acb893

Please sign in to comment.