Skip to content

1.0.31 - Build

1.0.31 - Build #11

Workflow file for this run

name: Build
run-name: ${{ github.ref_name }} - Build
on:
push:
tags:
- "*"
jobs:
build:
strategy:
# Failure in one platform build won't impact the others
fail-fast: false
matrix:
build:
- name: 'resticity-Linux-${{ github.ref_name }}_amd64'
platform: 'linux/amd64'
os: 'ubuntu-latest'
- name: 'Resticity-Windows-Portable-${{ github.ref_name }}_amd64.exe'
platform: 'windows/amd64'
os: 'windows-latest'
- name: 'Resticity-${{ github.ref_name }}_amd64'
platform: 'darwin/amd64'
os: 'macos-latest'
runs-on: ${{ matrix.build.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: recursive
- name: Build wails
uses: dAppServer/[email protected]
id: build
with:
build-name: ${{ matrix.build.name }}
build-platform: ${{ matrix.build.platform }}
package: true
go-version: '1.21'
release:
runs-on: ubuntu-latest
steps:
- uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}