Skip to content
This repository has been archived by the owner on Aug 24, 2024. It is now read-only.

ci: add separate release and push update workflows #1

ci: add separate release and push update workflows

ci: add separate release and push update workflows #1

Workflow file for this run

name: Release
on:
push:
branches: [main]
tags:
- "v*.*.*"
jobs:
build:
name: Build
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.20"
- uses: dAppServer/wails-build-action@v2.2
with:
build-name: geemo.exe
build-platform: windows/amd64
package: false
nsis: false
- name: Upload Artifact in GOOS-GOARCH format
uses: actions/upload-artifact@v3
with:
name: windows-amd64
path: ./build/bin/geemo.exe
release:
name: Release
needs: build
runs-on: ubuntu-20.04
steps:
- name: Zip
run: |
cd ./build/bin
zip -r geemo-${{github.ref_name}}.zip geemo.exe
mv geemo-${{github.ref_name}}.zip ../../
- name: Release
uses: softprops/action-gh-release@v1
with:
files: geemo-${{github.ref_name}}.zip
draft: true