bump version #42
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
branches: | |
- ci/* | |
tags: | |
- '*' | |
jobs: | |
linux-binary: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: '1.20.5' | |
- run: | | |
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 | |
with: | |
draft: true | |
files: | | |
paisa-* | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
mac-binary: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/[email protected] | |
- run: | | |
brew install --force --overwrite go sqlite3 | |
npm install | |
npm run build | |
go build | |
cp paisa paisa-macos-amd64 | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
draft: true | |
files: | | |
paisa-* | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
windows-binary: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: '1.20.5' | |
- run: | | |
choco install sqlite | |
npm install | |
npm run build | |
go build | |
cp paisa.exe paisa-windows-amd64.exe | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
draft: true | |
files: | | |
paisa-* | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |