From 07bf4e93e023bf20915ffd8bb2b2f7d6643b04c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20Cora=C3=A7=C3=A3o?= Date: Mon, 2 Dec 2024 23:16:27 +0000 Subject: [PATCH] Update create-config-zip.yml --- .github/workflows/create-config-zip.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/create-config-zip.yml b/.github/workflows/create-config-zip.yml index 2477dc572..91830f371 100644 --- a/.github/workflows/create-config-zip.yml +++ b/.github/workflows/create-config-zip.yml @@ -1,9 +1,7 @@ name: Create ZIP on: - push: - branches: ["main"] - paths: - - 'config/_default/**' + release: + types: [published] workflow_dispatch: jobs: @@ -12,8 +10,6 @@ jobs: steps: - uses: actions/checkout@v3 - run: zip -r config-default.zip config/_default - - uses: actions-ecosystem/action-get-latest-tag@v1 - id: get-latest-tag - uses: actions/upload-artifact@v3 with: name: config-default @@ -22,4 +18,4 @@ jobs: uses: softprops/action-gh-release@v1 with: files: config-default.zip - tag_name: ${{ steps.get-latest-tag.outputs.tag }} + tag_name: ${{ github.ref }}