File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Run Bash Script on Multiple Distributions
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+
9+ jobs :
10+ run-script :
11+ name : Run Bash Script
12+ strategy :
13+ matrix :
14+ # Fedora is not an option yet
15+ os : [ubuntu-latest, ubuntu-22.04]
16+ runs-on : ${{ matrix.os }}
17+
18+ steps :
19+ - name : Checkout Repository
20+ uses : actions/checkout@v4
21+
22+ - name : Install Podman on Ubuntu
23+ if : contains(matrix.os, 'ubuntu')
24+ run : |
25+ sudo apt-get update
26+ sudo apt-get install -y podman
27+
28+ # Currently we do not do MacOSX as it is not free, maybe in the future
29+ # - name: Install Podman on macOS
30+ # if: contains(matrix.os, 'macos')
31+ # run: |
32+ # brew install podman
33+ # podman machine init
34+ # podman machine start
35+
36+ - name : Verify Podman Installation
37+ run : podman --version
38+
39+ - name : Run pattern.sh script
40+ run : |
41+ ./scripts/pattern-util.sh make validate-origin
You can’t perform that action at this time.
0 commit comments