Skip to content

Commit

Permalink
Remove caching
Browse files Browse the repository at this point in the history
  • Loading branch information
iainsproat committed Jan 2, 2025
1 parent fef3198 commit ed09a8c
Showing 1 changed file with 17 additions and 16 deletions.
33 changes: 17 additions & 16 deletions .github/workflows/rest-api-fuzzer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,17 @@ jobs:
run: |
pip install -r ${{ github.workspace }}/restler-fuzzer/restler/requirements.txt
- name: Restore cached Restler binaries
id: cache-restler-bin-restore
uses: actions/cache/restore@v4
with:
path: |
${{ github.workspace }}/bin/restler
key: restler-binaries-${{ env.RESTLER_VERSION }}-${{ hashFiles('speckle-server/.github/workflows/rest-api-fuzzer.yml') }}
# This doesn't currently work as it cannot find path to compiler
# - name: Restore cached Restler binaries
# id: cache-restler-bin-restore
# uses: actions/cache/restore@v4
# with:
# path: |
# ${{ github.workspace }}/bin/restler
# key: restler-binaries-${{ env.RESTLER_VERSION }}-${{ hashFiles('speckle-server/.github/workflows/rest-api-fuzzer.yml') }}

- name: Build RESTler
if: steps.cache-restler-bin-restore.outputs.cache-hit != 'true'
# if: steps.cache-restler-bin-restore.outputs.cache-hit != 'true'
run: |
python ${{ github.workspace }}/restler-fuzzer/build-restler.py --dest_dir ${{ github.workspace }}/bin
python -m compileall -b ${{ github.workspace }}/bin/restler
Expand All @@ -76,14 +77,14 @@ jobs:
ls -la ${{ github.workspace }}/bin/restler
ls -la ${{ github.workspace }}/bin/restler/Restler
- name: Save Restler binaries to cache
if: steps.cache-restler-bin-restore.outputs.cache-hit != 'true'
id: cache-restler-bin-save
uses: actions/cache/save@v4
with:
path: |
${{ github.workspace }}/bin/restler
key: ${{ steps.cache-restler-bin-restore.outputs.cache-primary-key }}
# - name: Save Restler binaries to cache
# if: steps.cache-restler-bin-restore.outputs.cache-hit != 'true'
# id: cache-restler-bin-save
# uses: actions/cache/save@v4
# with:
# path: |
# ${{ github.workspace }}/bin/restler
# key: ${{ steps.cache-restler-bin-restore.outputs.cache-primary-key }}

- name: Restore cached Restler configuration
id: cache-config-restore
Expand Down

0 comments on commit ed09a8c

Please sign in to comment.