From 74dcc92fc6203ad2e959d70de7f996c4a5a7f13d Mon Sep 17 00:00:00 2001 From: Toby Date: Mon, 26 Feb 2024 10:49:19 -0800 Subject: [PATCH] fix: release workflow --- .github/workflows/release.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a4bb335..16fe72b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,6 +1,6 @@ on: release: - types: [ created ] + types: [published] permissions: contents: write @@ -12,8 +12,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - goos: [ linux ] - goarch: [ "386", amd64, arm64 ] + goos: [linux] + goarch: ["386", amd64, arm64] steps: - uses: actions/checkout@v4 - uses: wangyoucao577/go-release-action@v1 @@ -21,6 +21,6 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} - goversion: "https://go.dev/dl/go1.21.6.linux-amd64.tar.gz" + goversion: "https://go.dev/dl/go1.22.0.linux-amd64.tar.gz" binary_name: "OpenGFW" - extra_files: LICENSE README.md README.zh.md \ No newline at end of file + extra_files: LICENSE README.md README.zh.md