v10.0.27 release #54
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Prepare release for VCPKG | |
on: | |
release: | |
types: [published] | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
Collect-Vcpkg-Info: | |
permissions: | |
contents: write # Allow the creation of a release. | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1 | |
with: | |
egress-policy: audit | |
- name: Setup PHP | |
uses: shivammathur/setup-php@7fdd3ece872ec7ec4c098ae5ab7637d5e0a96067 # v2 | |
with: | |
php-version: '8.1' | |
- name: Checkout D++ | |
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | |
with: | |
submodules: recursive | |
- name: Update vcpkg and install other dependencies | |
run: sudo apt-get update && | |
sudo apt-get install nasm linux-headers-$(uname -r) && | |
cd /usr/local/share/vcpkg && | |
sudo ./bootstrap-vcpkg.sh && | |
sudo git stash && | |
sudo git pull && | |
sudo vcpkg update | |
- name: Run vcpkg release builder | |
run: git fetch -avt && | |
cd buildtools && | |
php make_vcpkg.php "${{ github.repository_owner }}" "${{ secrets.PERSONAL_ACCESS_TOKEN }}" |