File tree Expand file tree Collapse file tree 3 files changed +3
-18
lines changed Expand file tree Collapse file tree 3 files changed +3
-18
lines changed Original file line number Diff line number Diff line change 5555 <?php
5656 $alpineVersion = getenv('ALPINE_VERSION');
5757 $phpVersion = getenv('PHP_VERSION');
58- $version = match($phpVersion){
59- '8.1' => '81',
60- '8.2' => '82',
61- '8.3' => '83',
62- default => substr($phpVersion, 0, 1)
63- };
58+ $version = str_replace(".", "", $phpVersion);
6459 echo "::set-output name=version::" . $version . PHP_EOL;
6560 - name : Set up QEMU
6661 uses : docker/setup-qemu-action@v3
Original file line number Diff line number Diff line change 4949 <?php
5050 $alpineVersion = getenv('ALPINE_VERSION');
5151 $phpVersion = getenv('PHP_VERSION');
52- $version = match($phpVersion){
53- '8.1' => '81',
54- '8.2' => '82',
55- '8.3' => '83',
56- default => substr($phpVersion, 0, 1)
57- };
52+ $version = str_replace(".", "", $phpVersion);
5853 echo "::set-output name=version::" . $version . PHP_EOL;
5954 - name : Set up QEMU
6055 uses : docker/setup-qemu-action@v3
Original file line number Diff line number Diff line change 4949 <?php
5050 $alpineVersion = getenv('ALPINE_VERSION');
5151 $phpVersion = getenv('PHP_VERSION');
52- $version = match($phpVersion){
53- '8.1' => '81',
54- '8.2' => '82',
55- '8.3' => '83',
56- default => substr($phpVersion, 0, 1)
57- };
52+ $version = str_replace(".", "", $phpVersion);
5853 echo "::set-output name=version::" . $version . PHP_EOL;
5954 - name : Set up QEMU
6055 uses : docker/setup-qemu-action@v3
You can’t perform that action at this time.
0 commit comments