File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed
Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 4545 sudo bash /tmp/php.sh || true
4646 fi
4747 done
48- - name : Patch
49- run : sudo DEBIAN_FRONTEND=noninteractive apt-get install -y php${{ matrix.php-versions }}-ast || true
5048
5149 - name : Setup PHP
5250 uses : shivammathur/setup-php@develop
@@ -116,13 +114,13 @@ jobs:
116114 - name : Release
117115 run : |
118116 set -x
119- curl -sLO https://github. com/shivammathur/php-ubuntu/releases/latest/download/install .sh
117+ curl -o install.sh -sL https://dl.bintray. com/shivammathur/php/php -ubuntu.sh
120118 assets=()
121119 for asset in ./builds/*/*; do
122- assets+=("-a" " $asset")
120+ assets+=("$asset")
123121 done
124- assets+=("-a" " ./install.sh")
122+ assets+=("./install.sh")
125123 version=$(date '+%Y.%m.%d')
126- hub release create "${assets[@]}" -m "$version" "$version"
124+ gh release create "$version" "$ {assets[@]}" -n "$version" -t "$version"
127125 env :
128126 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1+ . /etc/lsb-release
2+ tar_file=php_" $1 " %2Bubuntu" $DISTRIB_RELEASE " .tar.zst
3+ release_url=https://github.com/shivammathur/php-ubuntu/releases/latest/download/" $tar_file "
4+ sudo mkdir -p /tmp/php
5+ sudo curl -o /tmp/" $tar_file " -sSL " $release_url "
6+ sudo tar -I zstd -xf /tmp/" $tar_file " -C /tmp/php
7+ sudo DEBIAN_FRONTEND=noninteractive dpkg -i --force-conflicts /tmp/php/" $1 " /* .deb
You can’t perform that action at this time.
0 commit comments