From 0d79eb7f696f0ab150c10ebfe7eb60eb1fec7505 Mon Sep 17 00:00:00 2001 From: ne-sachirou Date: Wed, 1 May 2024 15:02:56 +0900 Subject: [PATCH 1/3] list wix packages --- wix/pluginlist.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/wix/pluginlist.sh b/wix/pluginlist.sh index 5d4cc9084..3a175c806 100755 --- a/wix/pluginlist.sh +++ b/wix/pluginlist.sh @@ -1,4 +1,8 @@ #!/bin/sh +set -eu + d=$(dirname "$0") -go list -f '{{range .Imports}}{{println .}}{{end}}' "$d/plugins_windows.go" + +# `main` package can't import, but it only manages versions in go.mod, so I use the `-e` option to ignore errors and list them. +go list -e -f '{{range .Imports}}{{println .}}{{end}}' "$d/plugins_windows.go" From f80e503f0c793ed748170444a46b25c8fc2c4fb3 Mon Sep 17 00:00:00 2001 From: ne-sachirou Date: Wed, 1 May 2024 15:03:51 +0900 Subject: [PATCH 2/3] =?UTF-8?q?build-windows=20=E3=82=92=20pull=20request?= =?UTF-8?q?=20=E3=81=A7=E5=AF=A6=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index bfd3e9e99..1b049dfea 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -62,7 +62,7 @@ jobs: name: Build (Windows) runs-on: windows-2022 needs: test - if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') + #if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') strategy: matrix: GOARCH: ["amd64", "386"] From 780e0d6faca97728628172651ed5b48f7bc86d14 Mon Sep 17 00:00:00 2001 From: ne-sachirou Date: Wed, 1 May 2024 15:17:44 +0900 Subject: [PATCH 3/3] =?UTF-8?q?Revert=20"build-windows=20=E3=82=92=20pull?= =?UTF-8?q?=20request=20=E3=81=A7=E5=AF=A6=E8=A1=8C"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit f80e503f0c793ed748170444a46b25c8fc2c4fb3. --- .github/workflows/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 1b049dfea..bfd3e9e99 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -62,7 +62,7 @@ jobs: name: Build (Windows) runs-on: windows-2022 needs: test - #if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') + if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') strategy: matrix: GOARCH: ["amd64", "386"]