Skip to content

Commit 6d31fe0

Browse files
committed
Cleanup and replace hub with gh --skip-build
1 parent 4d77852 commit 6d31fe0

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ jobs:
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 }}

0 commit comments

Comments
 (0)