From e61ee8cc18cbe6d1e12eff77200815e8bf3e4813 Mon Sep 17 00:00:00 2001 From: "zhenglaiwen.zlw" Date: Fri, 13 Dec 2024 15:00:38 +0800 Subject: [PATCH] workflow: trigger actions on push --- .github/workflows/release_packages.yml | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/.github/workflows/release_packages.yml b/.github/workflows/release_packages.yml index c3774f48..972f4256 100644 --- a/.github/workflows/release_packages.yml +++ b/.github/workflows/release_packages.yml @@ -1,11 +1,11 @@ name: Release Packages -# on: -# push: -# tags: -# - 'v[0-9]+.[0-9]+.[0-9]+' +on: + push: + tags: + - 'v[0-9]+.[0-9]+.[0-9]+' -on: workflow_dispatch + workflow_dispatch # Needed to create release and upload assets permissions: @@ -31,8 +31,6 @@ jobs: # force use node16 instead of node20 # otherwise it may cause GLIBCXX_2.27 not found ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true - # ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 - # ACTIONS_RUNNER_FORCED_INTERNAL_NODE_VERSION: node16 defaults: run: shell: bash -l {0} @@ -180,12 +178,6 @@ jobs: matrix: arch: [X64, ARM64] steps: - # - name: Download deb packages - # uses: actions/download-artifact@v3 - # with: - # name: dashinfer-deb - # path: release/ - - name: Download tgz packages uses: actions/download-artifact@v3 with: @@ -202,6 +194,3 @@ jobs: uses: softprops/action-gh-release@v2 with: files: release/* - - -