Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating README #6

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,32 +35,32 @@ jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: macos-latest
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Install MySQL 5.7
- uses: actions/checkout@v4

- name: Install MySQL
shell: bash
run: |
brew install mysql
brew install [email protected]
brew unlink mysql && brew link [email protected]
echo 'export PATH="/usr/local/opt/[email protected]/bin:$PATH"' >> /Users/runner/.bash_profile
bash
sudo apt-get update
sudo apt-get install -y mysql-server
sudo systemctl start mysql.service
mysql --version
mysqldump --version

# Runs a single command using the runners shell
- name: Check MySQL schemas
uses: ./
with:
uses: GoLinks/mysql-schema-artifact@v1
with:
file: db.sql
hostname: ${{ secrets.HOSTNAME }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
database: ${{ secrets.DATABASE }}

- uses: actions/upload-artifact@v2
with:
name: db.sql
Expand Down