From 437ace7ef7f691e31e810bab11582d57a715bf1f Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sun, 29 Dec 2019 18:47:23 -0800 Subject: [PATCH] try a different strategy for building on release --- .github/workflows/tag_fedora.yml | 7 +++---- .github/workflows/tag_posix.yml | 7 +++---- .github/workflows/tag_win.yml | 7 +++---- 3 files changed, 9 insertions(+), 12 deletions(-) diff --git a/.github/workflows/tag_fedora.yml b/.github/workflows/tag_fedora.yml index 4c59afff4..1b214087e 100644 --- a/.github/workflows/tag_fedora.yml +++ b/.github/workflows/tag_fedora.yml @@ -1,9 +1,9 @@ name: tag_fedora on: - push: - tags: - - "20*" + release: + types: + - created jobs: build: @@ -53,7 +53,6 @@ jobs: - name: Upload Assets uses: AButler/upload-release-assets@v1.0 with: - release-tag: ${{ github.ref }} # allows comma-separated list of case sensitive globs files: "wezterm-*.rpm" repo-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/tag_posix.yml b/.github/workflows/tag_posix.yml index 341a50c46..f986e29f7 100644 --- a/.github/workflows/tag_posix.yml +++ b/.github/workflows/tag_posix.yml @@ -1,9 +1,9 @@ name: tag_posix on: - push: - tags: - - "20*" + release: + types: + - created jobs: build: @@ -45,7 +45,6 @@ jobs: - name: Upload Assets uses: AButler/upload-release-assets@v1.0 with: - release-tag: ${{ github.ref }} # allows comma-separated list of case sensitive globs files: "wezterm-*.deb,WezTerm-*.zip,wezterm-*.xz,wezterm-*.rpm,wezterm-*.tar.gz" repo-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/tag_win.yml b/.github/workflows/tag_win.yml index 9a27d0c20..5eca40150 100644 --- a/.github/workflows/tag_win.yml +++ b/.github/workflows/tag_win.yml @@ -1,9 +1,9 @@ name: tag_win on: - push: - tags: - - "20*" + release: + types: + - created jobs: build: @@ -45,7 +45,6 @@ jobs: - name: Upload Assets uses: AButler/upload-release-assets@v1.0 with: - release-tag: ${{ github.ref }} # allows comma-separated list of case sensitive globs files: "wezterm-*.deb,WezTerm-*.zip,wezterm-*.xz,wezterm-*.rpm,wezterm-*.tar.gz" repo-token: ${{ secrets.GITHUB_TOKEN }}