Skip to content

Commit

Permalink
cache binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
kingwill101 committed Nov 19, 2023
1 parent 54af7da commit 9cb6683
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Cache
id: cache
uses: actions/cache@v3
with:
path: bin/main.exe
key: ${{ runner.os }}-cache

# Note: This workflow uses the latest stable version of the Dart SDK.
# You can specify other versions if desired, see documentation here:
# https://github.com/dart-lang/setup-dart/blob/main/README.md
Expand All @@ -43,3 +50,7 @@ jobs:

- name: compile
run: dart compile exe bin/main.dart

- name: run
run: ./bin/main.exe

0 comments on commit 9cb6683

Please sign in to comment.