Update main.yml #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test script | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
install_ps_docker: | |
strategy: | |
matrix: | |
os: ["ubuntu:latest", "oraclelinux:9"] | |
runs-on: ubuntu-latest | |
container: | |
image: ${{ matrix.os }} | |
volumes: | |
- ${{ github.workspace }}:/tmp/install | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install sudo package | |
run: apt update && apt install sudo | |
- name: Run docker | |
run: bash /tmp/install/pg-easy-deploy.sh |