File tree Expand file tree Collapse file tree 6 files changed +165
-111
lines changed
Expand file tree Collapse file tree 6 files changed +165
-111
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: PHP Composer
22
33on :
44 push :
5- branches : [ master ]
5+ branches : [ master, GH-actions ]
66 pull_request :
77 branches : [ master ]
88
@@ -12,14 +12,14 @@ jobs:
1212 runs-on : ubuntu-latest
1313
1414 steps :
15- - uses : actions/checkout@v2
15+ - uses : actions/checkout@v5
1616
1717 - name : Validate composer.json and composer.lock
1818 run : composer validate --strict
1919
2020 - name : Cache Composer packages
2121 id : composer-cache
22- uses : actions/cache@v2
22+ uses : actions/cache@v4
2323 with :
2424 path : vendor
2525 key : ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
Original file line number Diff line number Diff line change 88 build-phar :
99 runs-on : ubuntu-latest
1010 steps :
11- - uses : actions/checkout@v2
11+ - uses : actions/checkout@v5
1212
1313 - name : Cache Composer packages
1414 id : composer-cache
15- uses : actions/cache@v2
15+ uses : actions/cache@v4
1616 with :
1717 path : vendor
1818 key : ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
2929 run : composer build-phar
3030
3131 - name : Upload PHAR
32- uses : actions/upload-artifact@v2
32+ uses : actions/upload-artifact@v4
3333 with :
3434 name : build-regexp.phar
3535 path : bin/build-regexp.phar
4040 - build-phar
4141
4242 steps :
43- - uses : actions/download-artifact@v2
43+ - uses : actions/download-artifact@v4
4444 with :
4545 name : build-regexp.phar
4646 path : .
You can’t perform that action at this time.
0 commit comments