Update main.yaml

This commit is contained in:
spiritlhl 2024-05-01 21:50:20 +08:00 committed by GitHub
parent ae2c13bf3d
commit 49d1c6ee93
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,12 +1,13 @@
name: Build and Release name: Build and Release
on: on:
push: # push:
branches: [ main ] # branches: [ main ]
pull_request: # pull_request:
branches: [ main ] # branches: [ main ]
release: # release:
types: [published] # types: [published]
workflow_dispatch:
jobs: jobs:
build: build:
@ -123,4 +124,4 @@ jobs:
goarch: arm64 goarch: arm64
- goos: openbsd - goos: openbsd
goarch: arm goarch: arm
goarm: 7 goarm: 7