File tree 5 files changed +14
-13
lines changed
5 files changed +14
-13
lines changed Original file line number Diff line number Diff line change 13
13
runs-on : ${{ matrix.operating-system }}
14
14
steps :
15
15
- name : Checkout
16
- uses : actions/checkout@v2
16
+ uses : actions/checkout@v4
17
17
- name : Setup PHP
18
18
uses : shivammathur/setup-php@v2
19
19
with :
24
24
id : composer-cache
25
25
run : echo "::set-output name=dir::$(composer config cache-files-dir)"
26
26
- name : Setup composer cache
27
- uses : actions/cache@v2
27
+ uses : actions/cache@v4
28
28
with :
29
29
path : ${{ steps.composer-cache.outputs.dir }}
30
30
key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
Original file line number Diff line number Diff line change 16
16
runs-on : ${{ matrix.operating-system }}
17
17
steps :
18
18
- name : Checkout
19
- uses : actions/checkout@v2
19
+ uses : actions/checkout@v4
20
20
- name : Setup PHP
21
21
uses : shivammathur/setup-php@v2
22
22
with :
27
27
id : composer-cache
28
28
run : echo "::set-output name=dir::$(composer config cache-files-dir)"
29
29
- name : Setup composer cache
30
- uses : actions/cache@v2
30
+ uses : actions/cache@v4
31
31
with :
32
32
path : ${{ steps.composer-cache.outputs.dir }}
33
33
key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
Original file line number Diff line number Diff line change 6
6
workflow_dispatch :
7
7
inputs :
8
8
tag :
9
- description : ' Tag release version'
9
+ description : " Tag release version"
10
10
required : true
11
11
12
12
jobs :
13
13
publish :
14
- runs-on : ubuntu-22.04
14
+ runs-on : ubuntu-latest
15
15
16
16
name : Release PHAR
17
17
@@ -21,11 +21,11 @@ jobs:
21
21
run : |
22
22
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
23
23
GITHUB_REF=${{ github.event.inputs.tag }}
24
- fi
24
+ fi
25
25
echo "tag=${GITHUB_REF##*v}" >> "$GITHUB_OUTPUT"
26
26
27
27
- name : Checkout the code
28
- uses : actions/checkout@v3
28
+ uses : actions/checkout@v4
29
29
with :
30
30
ref : v${{ steps.tag.outputs.tag }}
31
31
45
45
run : ./whisky app:build whisky.phar --build-version=${{ steps.tag.outputs.tag }}
46
46
47
47
- name : Upload the PHAR artifact
48
- uses : actions/upload-artifact@v3
48
+ uses : actions/upload-artifact@v4
49
49
with :
50
50
name : whisky.phar
51
51
path : builds/whisky.phar
Original file line number Diff line number Diff line change 8
8
operating-system :
9
9
- ubuntu-latest
10
10
- windows-latest
11
+ - macos-latest
11
12
php-version :
12
13
- " 8.1"
13
14
- " 8.2"
16
17
runs-on : ${{ matrix.operating-system }}
17
18
steps :
18
19
- name : Checkout
19
- uses : actions/checkout@v2
20
+ uses : actions/checkout@v4
20
21
- name : Setup PHP
21
22
uses : shivammathur/setup-php@v2
22
23
with :
27
28
id : composer-cache
28
29
run : echo "::set-output name=dir::$(composer config cache-files-dir)"
29
30
- name : Setup composer cache
30
- uses : actions/cache@v2
31
+ uses : actions/cache@v4
31
32
with :
32
33
path : ${{ steps.composer-cache.outputs.dir }}
33
34
key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
Original file line number Diff line number Diff line change 13
13
runs-on : ${{ matrix.operating-system }}
14
14
steps :
15
15
- name : Checkout
16
- uses : actions/checkout@v2
16
+ uses : actions/checkout@v4
17
17
- name : Setup PHP
18
18
uses : shivammathur/setup-php@v2
19
19
with :
24
24
id : composer-cache
25
25
run : echo "::set-output name=dir::$(composer config cache-files-dir)"
26
26
- name : Setup composer cache
27
- uses : actions/cache@v2
27
+ uses : actions/cache@v4
28
28
with :
29
29
path : ${{ steps.composer-cache.outputs.dir }}
30
30
key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
You can’t perform that action at this time.
0 commit comments