Skip to content

Try fix ci lint

Try fix ci lint #62

Workflow file for this run

---
name: Auto Release
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: set up go version
uses: actions/setup-go@v3
- name: Go Build x64
run: go build -o mani-diffy
- name: Go Build arm64
run: GOOS=darwin GOARCH=arm64 go build -o mani-diffy-darwin-arm64
- name: Create Release Text
run: echo ${{ github.sha }} > Release.txt
- name: Test Build x64
run: file mani-diffy | grep "x86-64"
- name: Test Build arm64
run: file mani-diffy-darwin-arm64 | grep "arm64"
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
mani-diffy
mani-diffy-darwin-arm64
Release.txt