Skip to content

Commit f0f6734

Browse files
committed
chore: prepare for release
1 parent 21ee04c commit f0f6734

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/cd.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ permissions:
44
contents: write
55

66
on:
7-
release:
8-
types: [published]
7+
push:
8+
tags:
9+
- huly-coder-v*
10+
11+
workflow_dispatch: # allows you to run this workflow manually from the Actions tab
912

1013
env:
1114
CARGO_INCREMENTAL: 0
@@ -23,7 +26,6 @@ defaults:
2326
jobs:
2427
upload-assets:
2528
name: ${{ matrix.target }}
26-
if: startsWith(github.event.release.name, 'huly-coder')
2729
runs-on: ${{ matrix.os }}
2830
strategy:
2931
matrix:
@@ -42,6 +44,8 @@ jobs:
4244
steps:
4345
- name: Checkout repository
4446
uses: actions/checkout@v4
47+
with:
48+
fetch-depth: 0
4549

4650
- name: Install Rust toolchain
4751
uses: actions-rust-lang/setup-rust-toolchain@v1

0 commit comments

Comments
 (0)