Skip to content

Commit

Permalink
ci: fix restore local data in dashmate tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shumkov committed Nov 10, 2023
1 parent 185a682 commit 4b2efe3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests-dashmate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:

jobs:
dashmate-test:
name: Run Dashmate test
name: Run ${{ inputs.name }} tests
# TODO: Try with Github Runner, probably it will be the same time
runs-on: [ "self-hosted", "linux", "arm64", "ubuntu-platform" ]
timeout-minutes: 30
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
- name: Get dashmate fingerprint
id: dashmate-fingerprint
run: echo "sha=$(git log -1 --format="%h" -- packages/dashmate)" >> $GITHUB_OUTPUT
if: inputs.restore_local_network_data == 'true'
if: inputs.restore_local_network_data == true

- name: Use test suite local network data to speed up dashmate local network tests
id: local-network-data
Expand All @@ -90,7 +90,7 @@ jobs:
/home/ubuntu/.dashmate
dashmate_volumes_dump
key: local-network-volumes/${{ steps.dashmate-fingerprint.outputs.sha }}
if: inputs.restore_local_network_data == 'true'
if: inputs.restore_local_network_data == true

- name: Restore dashmate volumes
run: ./scripts/dashmate/volumes/restore.sh
Expand Down

0 comments on commit 4b2efe3

Please sign in to comment.