chore: bump version to 1.0.3 #10
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: Maven deploy | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: '>=1.21.0' | |
- run: go version | |
- name: Get Wails | |
run: go install github.com/wailsapp/wails/v2/cmd/wails@latest | |
- name: Install Wails Build Dependencies | |
run: sudo apt-get install -y build-essential libgtk-3-dev libwebkit2gtk-4.0-dev npm pkg-config | |
- name: Wails Doctor | |
run: wails doctor | |
- name: Fetch current Version based on Frontend | |
run: | | |
echo "version=$(grep -oP '(?<=version: ")[^"]*' frontend/src/staticContent/index.js)" >> $GITHUB_ENV | |
- name: Update version for Output File | |
run: | | |
sed -i "s/dev/${{ env.version }}/g" wails.json | |
- name: Install Wails Build (Windows) | |
run: wails build -platform windows/amd64 | |
- name: Install Wails Build (Linux) | |
run: wails build -platform linux/amd64 | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: app-v${{ env.version }} | |
path: build/bin/* |