Skip to content

Commit 03ac20e

Browse files
committed
ci: update CI for releases
1 parent 089310e commit 03ac20e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: build
22

3-
on:
3+
on:
44
push:
55
paths-ignore:
66
- "**.md"
@@ -60,7 +60,7 @@ jobs:
6060
with:
6161
path: nvenv
6262

63-
- name: Build Nvenv
63+
- name: Build Nvenv
6464
run: |
6565
cd ./nvenv
6666
make macos
@@ -73,14 +73,14 @@ jobs:
7373

7474
release:
7575
name: Release to Github
76-
if: contains(github.event.head_commit.message, '[Release]') && github.repository == 'NTBBloodbath/nvenv'
76+
if: contains(github.event.head_commit.message, 'release:') && github.repository == 'NTBBloodbath/nvenv'
7777
needs: [linux, macos]
7878
runs-on: ubuntu-latest
7979
steps:
8080
- uses: actions/checkout@v2
8181
with:
8282
repository: ${{ github.repository }}
83-
path: 'workspace'
83+
path: "workspace"
8484
token: ${{ secrets.GITHUB_TOKEN }}
8585

8686
- uses: actions/download-artifact@v2

0 commit comments

Comments
 (0)