Skip to content

Commit

Permalink
workflow: trigger actions on push
Browse files Browse the repository at this point in the history
  • Loading branch information
laiwenzh committed Dec 13, 2024
1 parent 553cdf1 commit 2925e9f
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions .github/workflows/release_packages.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
name: Release Packages

# on:
# push:
# tags:
# - 'v[0-9]+.[0-9]+.[0-9]+'

on: workflow_dispatch
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
workflow_dispatch:

# Needed to create release and upload assets
permissions:
Expand All @@ -31,8 +30,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}
Expand Down Expand Up @@ -180,12 +177,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:
Expand All @@ -202,6 +193,3 @@ jobs:
uses: softprops/action-gh-release@v2
with:
files: release/*



0 comments on commit 2925e9f

Please sign in to comment.