diff --git a/.github/workflows/release-win7.yml b/.github/workflows/release-win7.yml index 18745397..ae1dd35b 100644 --- a/.github/workflows/release-win7.yml +++ b/.github/workflows/release-win7.yml @@ -1,24 +1,18 @@ name: Build and Release for Windows 7 +# NOTE: This Github Actions file depends on the Makefile. +# Building the correct package requires the correct binaries generated by the Makefile. To +# ensure the correct output, the Makefile must accept the appropriate input and compile the +# correct file with the correct name. If you need to modify this file, please ensure it won't +# disrupt the Makefile. + on: workflow_dispatch: release: types: [published] push: - branches: - - main - paths: - # - "**/*.go" - - "go.mod" - - "go.sum" - - ".github/workflows/release-win7.yml" pull_request: types: [opened, synchronize, reopened] - paths: - # - "**/*.go" - - "go.mod" - - "go.sum" - - ".github/workflows/release-win7.yml" jobs: prepare: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3b706680..dc6fa6fe 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,20 +11,9 @@ on: release: types: [published] push: - branches: - - main - paths: - - "**/*.go" - - "go.mod" - - "go.sum" - - ".github/workflows/release.yml" pull_request: types: [opened, synchronize, reopened] - paths: - - "**/*.go" - - "go.mod" - - "go.sum" - - ".github/workflows/release.yml" + jobs: prepare: runs-on: ubuntu-latest diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index da178740..9620829a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,20 +2,8 @@ name: Test on: push: - branches: - - main - paths: - - "**/*.go" - - "go.mod" - - "go.sum" - - ".github/workflows/*.yml" pull_request: types: [opened, synchronize, reopened] - paths: - - "**/*.go" - - "go.mod" - - "go.sum" - - ".github/workflows/*.yml" jobs: test: