Skip to content

Commit

Permalink
Test action OCI
Browse files Browse the repository at this point in the history
  • Loading branch information
isboston committed Dec 8, 2024
1 parent 11775fc commit 8486189
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci-oci-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ jobs:
- name: Set default for RPM built
run: |
echo "rpm_built=true" >> $GITHUB_ENV
echo "deb_built=true" >> $GITHUB_ENV
- name: Determine affected distributions
id: determine-distros
Expand All @@ -88,11 +90,11 @@ jobs:
id: set-matrix
run: |
deb_matrix=$(echo '[
{"execute": '${{ github.event.inputs.ubuntu2204 || false }}', "name": "Ubuntu22.04", "os": "ubuntu2204", "distr": "generic"}
{"execute": '${{ github.event.inputs.ubuntu2204 || true }}', "name": "Ubuntu22.04", "os": "ubuntu2204", "distr": "generic"}
]' | jq -c '.[] | select(.execute == true)')
rpm_matrix=$(echo '[
{"execute": '${{ github.event.inputs.centos9s || false }}', "name": "CentOS9S", "os": "centos9s", "distr": "generic"}
{"execute": '${{ github.event.inputs.centos9s || true }}', "name": "CentOS9S", "os": "centos9s", "distr": "generic"}
]' | jq -c '.[] | select(.execute == true)')
if [[ "${{ github.event.inputs.deb_built }}" == "true" ]] && [[ "${{ github.event.inputs.rpm_built }}" == "true" ]]; then
Expand Down

0 comments on commit 8486189

Please sign in to comment.