Skip to content

Commit 4f81f28

Browse files
committed
Update
1 parent 889af58 commit 4f81f28

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/build_test_windows.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
branches: [master]
55
pull_request:
66
types: [opened, synchronize, reopened]
7+
# needed to allow julia-actions/cache to delete old caches that it has created
8+
permissions:
9+
actions: write
10+
contents: read
711
jobs:
812
build-linux:
913
name: Julia - ${{ github.event_name }}
@@ -18,6 +22,7 @@ jobs:
1822
with:
1923
version: "1.7"
2024
arch: x64
25+
- uses: julia-actions/cache@v2
2126
- name: build
2227
run: |
2328
julia --color=yes -e 'using Pkg; Pkg.add("BinaryBuilder")'
@@ -43,6 +48,7 @@ jobs:
4348
with:
4449
version: "1"
4550
arch: x64
51+
- uses: julia-actions/cache@v2
4652
- uses: julia-actions/julia-buildpkg@v1
4753
- uses: actions/download-artifact@v4
4854
with:
@@ -55,5 +61,6 @@ jobs:
5561
- shell: julia --color=yes {0}
5662
run: |
5763
using Pkg
64+
Pkg.add(Pkg.PackageSpec(; path = ENV["GITHUB_WORKSPACE"]))
5865
Pkg.develop(; path="/home/runner/.julia/dev/SCIP_jll")
5966
Pkg.test("SCIP")

0 commit comments

Comments
 (0)