Download src/php/php-src/.github/actions/setup-windows/action.yml from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 770 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/.github/actions/setup-windows/action.yml
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/.github/actions/setup-windows/action.yml
-
curl -L -o action.yml https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/.github/actions/setup-windows/action.yml
770 Bytes
| name: Setup | |
| runs: | |
| using: composite | |
| steps: | |
| - name: Setup MySQL | |
| shell: cmd | |
| run: | | |
| mysqld --initialize-insecure | |
| mysqld --install | |
| net start MySQL | |
| mysql --port=3306 --user=root --password="" -e "ALTER USER 'root'@'localhost' IDENTIFIED BY 'Password12!'; FLUSH PRIVILEGES;" | |
| - name: Setup MSSQL | |
| shell: pwsh | |
| run: | | |
| choco install sql-server-express -y --no-progress --install-arguments="/SECURITYMODE=SQL /SAPWD=Password12!" | |
| - name: Setup PostgreSQL | |
| shell: pwsh | |
| run: | | |
| Set-Service -Name "postgresql-x64-14" -StartupType manual -Status Running | |
| pwsh -Command { $env:PGPASSWORD="root"; & "$env:PGBIN\psql" -U postgres -c "ALTER USER postgres WITH PASSWORD 'Password12!';" } | |