Skip to content

Commit 0d34ebc

Browse files
authored
Update julia.yml
1 parent 9e44b60 commit 0d34ebc

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/julia.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
name: Julia
22
on:
3-
push:
4-
branches: [ "dev" ]
53
pull_request:
64
branches: [ "main" ]
75
release:
@@ -10,7 +8,6 @@ env:
108
CARGO_TERM_COLOR: always
119
jobs:
1210
test:
13-
if: github.event_name == 'release'
1411
strategy:
1512
fail-fast: false
1613
matrix:
@@ -38,6 +35,7 @@ jobs:
3835
if: runner.os == 'Linux'
3936
run: julia -e 'using Pkg; Pkg.add("JuliaFormatter"); using JuliaFormatter; if format("./") == true; exit(0); else exit(1); end'
4037
register:
38+
if: github.event_name == 'release'
4139
runs-on: ubuntu-latest
4240
steps:
4341
- uses: actions/github-script@v6
@@ -47,5 +45,5 @@ jobs:
4745
owner: context.repo.owner,
4846
repo: context.repo.repo,
4947
commit_sha: context.sha,
50-
body: '@JuliaRegistratorASDF register'
48+
body: '@JuliaRegistrator register'
5149
})

0 commit comments

Comments
 (0)