@@ -11,19 +11,10 @@ jobs:
1111 steps :
1212 - uses : actions/checkout@master
1313 - name : Setup node 14
14- uses : actions/setup-node@v1
14+ uses : actions/setup-node@v4
1515 with :
1616 node-version : 14.x
17- - name : Get yarn cache directory path
18- id : yarn-cache-dir-path
19- run : echo "::set-output name=dir::$(yarn cache dir)"
20- - uses : actions/cache@v2
21- id : yarn-cache
22- with :
23- path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
24- key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
25- restore-keys : |
26- ${{ runner.os }}-yarn-
17+ cache : " yarn"
2718 - name : Build & create dist/artifact
2819 run : |
2920 yarn install --frozen-lockfile
4334 AWS_S3_BUCKET : ${{ secrets.AWS_S3_BUCKET_DOWNLOADS }}
4435 AWS_ACCESS_KEY_ID : ${{ secrets.S3_DOWNLOADS_AWS_ACCESS_KEY_ID }}
4536 AWS_SECRET_ACCESS_KEY : ${{ secrets.S3_DOWNLOADS_AWS_SECRET_ACCESS_KEY }}
46- AWS_REGION : ' us-west-1' # optional: defaults to us-east-1
47- SOURCE_DIR : ' artifact' # optional: defaults to entire repository
37+ AWS_REGION : " us-west-1" # optional: defaults to us-east-1
38+ SOURCE_DIR : " artifact" # optional: defaults to entire repository
4839 DEST_DIR : ${{ secrets.S3_AWS_PRODUCTS_FOLDER }}/$BUILD_NAME/latest
4940 - name : Upload Tagged Version to S3
5041 uses : jakejarvis/s3-sync-action@master
5445 AWS_S3_BUCKET : ${{ secrets.AWS_S3_BUCKET_DOWNLOADS }}
5546 AWS_ACCESS_KEY_ID : ${{ secrets.S3_DOWNLOADS_AWS_ACCESS_KEY_ID }}
5647 AWS_SECRET_ACCESS_KEY : ${{ secrets.S3_DOWNLOADS_AWS_SECRET_ACCESS_KEY }}
57- AWS_REGION : ' us-west-1' # optional: defaults to us-east-1
58- SOURCE_DIR : ' artifact' # optional: defaults to entire repository
48+ AWS_REGION : " us-west-1" # optional: defaults to us-east-1
49+ SOURCE_DIR : " artifact" # optional: defaults to entire repository
5950 DEST_DIR : ${{ secrets.S3_AWS_PRODUCTS_FOLDER }}/$BUILD_NAME/$BUILD_VERSION
6051 - name : Send update to the store
6152 env :
6455 STORE_URL : ${{ secrets.THEMEISLE_STORE_URL }}
6556 GITHUB_TOKEN : ${{ secrets.BOT_TOKEN }}
6657 BUILD_VERSION : ${{ env.BUILD_VERSION }}
67- uses : Codeinwp/action-store-release@main
58+ uses : Codeinwp/action-store-release@main
0 commit comments