Skip to content

Commit

Permalink
Use github ip for all checks
Browse files Browse the repository at this point in the history
  • Loading branch information
krzywon committed Nov 12, 2024
1 parent 06fd935 commit 0a0abef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
run: |
sudo /etc/init.d/mysql start
mysql -e 'CREATE DATABASE ${{ env.MYSQL_DATABASE }};' -u${{ env.MYSQL_USER }} -p${{ env.MYSQL_PASSWORD }}
mysql -u${{ env.MYSQL_USER }} -p${{ env.MYSQL_PASSWORD }} -e "CREATE USER '${{ env.MYSQL_GEN_USER }}'@'localhost' IDENTIFIED BY '${{ env.MYSQL_GEN_PASSWORD }}';"
mysql -u${{ env.MYSQL_USER }} -p${{ env.MYSQL_PASSWORD }} -e "GRANT ALL PRIVILEGES ON *.* TO '${{ env.MYSQL_GEN_USER }}'@'localhost';"
mysql -u${{ env.MYSQL_USER }} -p${{ env.MYSQL_PASSWORD }} -e "CREATE USER '${{ env.MYSQL_GEN_USER }}'@'172.18.0.1' IDENTIFIED BY '${{ env.MYSQL_GEN_PASSWORD }}';"
mysql -u${{ env.MYSQL_USER }} -p${{ env.MYSQL_PASSWORD }} -e "GRANT ALL PRIVILEGES ON *.* TO '${{ env.MYSQL_GEN_USER }}'@'172.18.0.1';"
- uses: actions/checkout@v4
- name: install prerequisites
run: sudo apt-get install -y python3-dev python3-setuptools libpq-dev apache2-dev mysql-client
Expand Down

0 comments on commit 0a0abef

Please sign in to comment.