Skip to content

Commit

Permalink
fix: gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas committed Jun 12, 2024
1 parent ec27ba4 commit 3cd8579
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,20 @@ jobs:
run: mkdir -p ~/image-cache

- name: 🔧 Try Get Cache
- id: image-cache
id: image-cache
uses: actions/cache@v1
with:
path: ~/image-cache
key: image-cache-${{ runner.os }}

- name: 🔧 If Cache miss
- if: steps.image-cache.outputs.cache-hit != 'true'
if: steps.image-cache.outputs.cache-hit != 'true'
run: |
docker pull mcr.microsoft.com/mssql/server:2019-CU18-ubuntu-20.04
docker save -o ~/image-cache/mssql.tar alpine
- name: 🔧 If Cache hit
- if: steps.image-cache.outputs.cache-hit == 'true'
if: steps.image-cache.outputs.cache-hit == 'true'
run: docker load -i ~/image-cache/mssql.tar

- name: 🤞 Dotnet Test
Expand Down

0 comments on commit 3cd8579

Please sign in to comment.