Skip to content

Commit 0a17a2f

Browse files
committed
Update CompatHelper
1 parent 33af37a commit 0a17a2f

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/CompatHelper.yml

+13
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,23 @@ on:
33
schedule:
44
- cron: 0 0 * * *
55
workflow_dispatch:
6+
permissions:
7+
contents: write
8+
pull-requests: write
69
jobs:
710
CompatHelper:
811
runs-on: ubuntu-latest
912
steps:
13+
- name: Check if Julia is already available in the PATH
14+
id: julia_in_path
15+
run: which julia
16+
continue-on-error: true
17+
- name: Install Julia, but only if it is not already available in the PATH
18+
uses: julia-actions/setup-julia@v1
19+
with:
20+
version: '1'
21+
arch: ${{ runner.arch }}
22+
if: steps.julia_in_path.outcome != 'success'
1023
- name: "Add the General registry via Git"
1124
run: |
1225
import Pkg

0 commit comments

Comments
 (0)