File tree Expand file tree Collapse file tree 2 files changed +16
-10
lines changed Expand file tree Collapse file tree 2 files changed +16
-10
lines changed Original file line number Diff line number Diff line change 66 push :
77 tags :
88 - " *"
9+ schedule :
10+ - cron :
11+ ' 0 1 * * *'
912
1013jobs :
1114 create-install-package :
2629 env :
2730 MYSQL_ROOT_PASSWORD : root
2831
29- runs-on : ubuntu-latest
32+ runs-on : ubuntu-22.04
3033 steps :
3134 - name : Create version
3235 run : |
3639 shell : bash
3740
3841 - name : Clone
39- uses : actions/checkout@v3
42+ uses : actions/checkout@v4
4043
4144 - name : Set current date as env variable
4245 run : echo "REVISION=$(git log -1 --format="%at" | xargs -I{} date -d @{} +'%Y%m%d%H%M')" >> $GITHUB_ENV
4548 id : composer-cache
4649 run : |
4750 echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
48- - uses : actions/cache@v3
51+ - uses : actions/cache@v4
4952 with :
5053 path : ${{ steps.composer-cache.outputs.dir }}
5154 key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
@@ -124,12 +127,12 @@ jobs:
124127
125128 - name : Archive results
126129 if : always()
127- uses : actions/upload-artifact@v3
130+ uses : actions/upload-artifact@v4
128131 with :
129132 path : ${{ env.PACKAGE_PREFIX }}${{ env.PACKAGE_DELIMITER }}${{ env.SHA }}.zip
130133
131134 - name : Push to release
132- uses : xresloader/upload-to-github-release@v1.3.12
135+ uses : xresloader/upload-to-github-release@v1.6.0
133136 env :
134137 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
135138 with :
Original file line number Diff line number Diff line change 77 push :
88 tags :
99 - " *"
10+ schedule :
11+ - cron :
12+ ' 0 1 * * *'
1013
1114jobs :
1215 create-update-package :
1518 PACKAGE_DELIMITER : _
1619 UPDATE_ASSET_DIR : ' ./update-assets/'
1720
18- runs-on : ubuntu-latest
21+ runs-on : ubuntu-22.04
1922
2023 steps :
2124 - name : Create version
2629 shell : bash
2730
2831 - name : Clone
29- uses : actions/checkout@v3
32+ uses : actions/checkout@v4
3033
3134 - name : Set current date as env variable
3235 run : echo "REVISION=$(git log -1 --format="%at" | xargs -I{} date -d @{} +'%Y%m%d%H%M')" >> $GITHUB_ENV
3538 id : composer-cache
3639 run : |
3740 echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
38- - uses : actions/cache@v3
41+ - uses : actions/cache@v4
3942 with :
4043 path : ${{ steps.composer-cache.outputs.dir }}
4144 key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
@@ -123,12 +126,12 @@ jobs:
123126
124127 - name : Archive results
125128 if : always()
126- uses : actions/upload-artifact@v3
129+ uses : actions/upload-artifact@v4
127130 with :
128131 path : ${{ env.PACKAGE_PREFIX }}${{ env.PACKAGE_DELIMITER }}${{ env.SHA }}.zip
129132
130133 - name : Push to release
131- uses : xresloader/upload-to-github-release@v1.3.12
134+ uses : xresloader/upload-to-github-release@v1.6.0
132135 env :
133136 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
134137 with :
You can’t perform that action at this time.
0 commit comments