inital release

This commit is contained in:
2024-10-10 13:12:01 +03:00
parent fec6166063
commit 7e15ea607d
5 changed files with 151 additions and 0 deletions

33
.github/workflows/go.yaml vendored Normal file
View File

@@ -0,0 +1,33 @@
name: Go
on:
create:
tags:
- v*
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.23'
- name: Build
run: |
go build .
go get github.com/mitchellh/gox
/home/runner/go/bin/gox -osarch="linux/amd64 linux/arm darwin/amd64 windows/amd64" --output "build/{{ .Dir }}_{{.OS}}_{{.Arch}}"
- name: Release
uses: softprops/action-gh-release@v2
with:
files: |
build/photok-recovery_darwin_amd64
build/photok-recovery_windows_amd64.exe
build/photok-recovery_linux_amd64
build/photok-recovery_linux_arm