Change runner to ubuntu-slim and update output file name

This commit is contained in:
Jay Lee
2026-03-03 21:25:57 -05:00
committed by GitHub
parent cbfae9226a
commit 094616e482

View File

@@ -17,7 +17,7 @@ defaults:
jobs: jobs:
check-certs: check-certs:
runs-on: ubuntu-latest runs-on: ubuntu-slim
steps: steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v5.0.0 - uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v5.0.0
with: with:
@@ -32,7 +32,7 @@ jobs:
- name: Generate GAM-specific bundle with LE + Google roots - name: Generate GAM-specific bundle with LE + Google roots
run: | run: |
OUTPUT_FILE="cacerts.pem.pem" OUTPUT_FILE="cacerts.pem"
> "$OUTPUT_FILE" > "$OUTPUT_FILE"
process_cert() { process_cert() {
@@ -61,12 +61,12 @@ jobs:
rm "$tmp_cert" rm "$tmp_cert"
} }
echo "#" echo "#" >> "$OUTPUT_FILE"
echo "# This is a custom certificate authority bundle for GAM" echo "# This is a custom certificate authority bundle for GAM" >> "$OUTPUT_FILE"
echo "# It's composed of Let's Encrypt Root CAs and Google's" echo "# It's composed of Let's Encrypt Root CAs and Google's" >> "$OUTPUT_FILE"
echo "# certificate bundle. This should be the minimal list of" echo "# certificate bundle. This should be the minimal list of" >> "$OUTPUT_FILE"
echo "# CAs required to talk to Google and Github." echo "# CAs required to talk to Google and Github." >> "$OUTPUT_FILE"
echo"" echo"" >> "$OUTPUT_FILE"
echo "Processing Let's Encrypt ISRG Root X1..." echo "Processing Let's Encrypt ISRG Root X1..."
process_cert "https://letsencrypt.org/certs/isrgrootx1.pem" "Let's Encrypt" "ISRG Root X1" process_cert "https://letsencrypt.org/certs/isrgrootx1.pem" "Let's Encrypt" "ISRG Root X1"
echo "Processing Let's Encrypt ISRG Root X2..." echo "Processing Let's Encrypt ISRG Root X2..."