@@ -1072,19 +1072,6 @@ jobs:
10721072 if : ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }}
10731073 run : node scripts/normalize-version-bump.js
10741074
1075- # We use restore-key to pick latest cache.
1076- # We will not get exact match, but doc says
1077- # "If there are multiple partial matches for a restore key, the action returns the most recently created cache."
1078- # So we get latest cache
1079- # - name: Cache built files
1080- # uses: actions/cache@v3
1081- # timeout-minutes: 5
1082- # with:
1083- # path: ./packages/next-swc/target
1084- # key: next-swc-cargo-cache-dev-ubuntu-latest-${{ hashFiles('**/Cargo.lock') }}
1085- # restore-keys: |
1086- # next-swc-cargo-cache-dev-ubuntu-latest
1087-
10881075 - name : Build in docker
10891076 uses : addnab/docker-run-action@v3
10901077 if : ${{ steps.docs-change.outputs.DOCS_CHANGE == 'nope' }}
@@ -1327,18 +1314,6 @@ jobs:
13271314 # we use checkout here instead of the build cache since
13281315 # it can fail to restore in different OS'
13291316 - uses : actions/checkout@v3
1330- # We use restore-key to pick latest cache.
1331- # We will not get exact match, but doc says
1332- # "If there are multiple partial matches for a restore key, the action returns the most recently created cache."
1333- # So we get latest cache
1334- - name : Cache built files
1335- uses : actions/cache@v3
1336- timeout-minutes : 5
1337- with :
1338- path : ./packages/next-swc/target
1339- key : next-swc-cargo-cache-${{ matrix.settings.target }}--${{ hashFiles('**/Cargo.lock') }}
1340- restore-keys : |
1341- next-swc-cargo-cache-${{ matrix.settings.target }}
13421317
13431318 - name : Setup node
13441319 uses : actions/setup-node@v3
0 commit comments