Skip to content

Commit d940269

Browse files
authored
Merge pull request docker-library#1006 from infosiftr/ci-updates
Switch to "$GITHUB_OUTPUT"; update actions/checkout to v3
2 parents 747be59 + 44bad5f commit d940269

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,23 @@ jobs:
1818
outputs:
1919
strategy: ${{ steps.generate-jobs.outputs.strategy }}
2020
steps:
21-
- uses: actions/checkout@v1
21+
- uses: actions/checkout@v3
2222
- id: generate-jobs
2323
name: Generate Jobs
2424
run: |
2525
git clone --depth 1 https://github.com/docker-library/bashbrew.git -b master ~/bashbrew
2626
strategy="$(~/bashbrew/scripts/github-actions/generate.sh)"
2727
strategy="$(.github/workflows/munge.sh -c <<<"$strategy")"
28+
echo "strategy=$strategy" >> "$GITHUB_OUTPUT"
2829
jq . <<<"$strategy" # sanity check / debugging aid
29-
echo "::set-output name=strategy::$strategy"
3030
3131
test:
3232
needs: generate-jobs
3333
strategy: ${{ fromJson(needs.generate-jobs.outputs.strategy) }}
3434
name: ${{ matrix.name }}
3535
runs-on: ${{ matrix.os }}
3636
steps:
37-
- uses: actions/checkout@v1
37+
- uses: actions/checkout@v3
3838
- name: Prepare Environment
3939
run: ${{ matrix.runs.prepare }}
4040
- name: Pull Dependencies

.github/workflows/verify-templating.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
name: Check For Uncomitted Changes
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v3
1717
- name: Apply Templates
1818
run: ./apply-templates.sh
1919
- name: Check Git Status

0 commit comments

Comments
 (0)