From 9729c4dfecf31b3fdfa5fd81d7af6e21d71ef0bd Mon Sep 17 00:00:00 2001 From: Wolfgang Ginolas Date: Mon, 20 Jan 2025 15:12:58 +0100 Subject: [PATCH] Fix release action --- .github/workflows/github-actions-release.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github-actions-release.yml b/.github/workflows/github-actions-release.yml index d1030325c9..19c89ff04a 100644 --- a/.github/workflows/github-actions-release.yml +++ b/.github/workflows/github-actions-release.yml @@ -1,6 +1,12 @@ name: Release run-name: Releasing ${{ github.ref }} -on: [push] + +on: + push: + # Sequence of patterns matched against refs/tags + tags: + - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 + jobs: Explore-GitHub-Actions: runs-on: ubuntu-latest @@ -40,6 +46,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps - asset_path: ./mbazel-bin/onlyoffice-editor.tar.gz + asset_path: ./bazel-bin/onlyoffice-editor.tar.gz asset_name: onlyoffice-editor.tar.gz asset_content_type: application/zip