File tree Expand file tree Collapse file tree 1 file changed +3
-15
lines changed
Expand file tree Collapse file tree 1 file changed +3
-15
lines changed Original file line number Diff line number Diff line change @@ -147,26 +147,14 @@ jobs:
147147 uses : ./.github/workflows/setup
148148 with :
149149 haxe : ${{ inputs.haxe }}
150- - name : install mariadb
150+ - name : setup mariadb
151151 if : runner.os == 'Linux'
152152 run : |
153153 set -ex
154- sudo rm -R /var/lib/mysql/
155- curl -sSL https://downloads.mariadb.com/MariaDB/mariadb_repo_setup > mariadb_repo_setup
156- curl -sSL https://downloads.mariadb.com/MariaDB/mariadb_repo_setup.sha256 > mariadb_repo_setup.sha256
157- sha256sum --check mariadb_repo_setup.sha256
158- sudo bash mariadb_repo_setup
159154 sudo apt-get update -qqy
160- sudo apt-get remove -qqy mysql-common
161- sudo apt-get autoremove -qqy
162155 sudo apt-get install -qqy mariadb-server
163- - name : configure mariadb
164- if : runner.os == 'Linux'
165- run : |
166- set -ex
167- sudo systemctl unmask mysql.service
168- sudo systemctl start mysql
169- sudo mysql -u root -e "create database hxcpp; grant all privileges on hxcpp.* to hxcpp@localhost identified by 'hxcpp'; flush privileges;"
156+ sudo systemctl start mariadb
157+ sudo mariadb -u root -e "create database hxcpp; grant all privileges on hxcpp.* to hxcpp@localhost identified by 'hxcpp'; flush privileges;"
170158 - name : build
171159 run : haxe compile${{ inputs.arch }}.hxml
172160 - name : run
You can’t perform that action at this time.
0 commit comments