diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index dbf8dec2..28224cab 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -17,15 +17,17 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: '3.12' - name: Install dependencies run: | + sudo apt-get update + sudo apt-get install -y pkg-config default-libmysqlclient-dev pip install mysqlclient - name: Update database @@ -45,7 +47,7 @@ jobs: # 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 + - uses: actions/checkout@v4 # Runs a single command using the runners shell - name: Deploy to server