From 9cb6683a2e95f3bcca45f36aeb2eaa5b2bf6c9ad Mon Sep 17 00:00:00 2001 From: kingwill101 Date: Sun, 19 Nov 2023 14:15:46 -0500 Subject: [PATCH] cache binaries --- .github/workflows/dart.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 7aa4b5e..ada94a5 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -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 @@ -43,3 +50,7 @@ jobs: - name: compile run: dart compile exe bin/main.dart + + - name: run + run: ./bin/main.exe +