refactor: Move to new actions/checkout.

This commit is contained in:
Peter Johanson 2022-11-03 11:36:37 -04:00 committed by Pete Johanson
parent aedbb92f63
commit 9b1bbf4a06

View File

@ -41,7 +41,7 @@ jobs:
- name: Install yaml2json - name: Install yaml2json
run: python3 -m pip install remarshal run: python3 -m pip install remarshal
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Import from architectures.yml - name: Import from architectures.yml
id: import id: import
run: echo "json=$(yaml2json architectures.yml | jq -c .)" >> $GITHUB_OUTPUT run: echo "json=$(yaml2json architectures.yml | jq -c .)" >> $GITHUB_OUTPUT
@ -331,7 +331,7 @@ jobs:
cache-to: type=inline cache-to: type=inline
load: true load: true
- name: Checkout ZMK - name: Checkout ZMK
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
repository: ${{ env.zmk-repository }} repository: ${{ env.zmk-repository }}
ref: ${{ env.zmk-ref }} ref: ${{ env.zmk-ref }}
@ -594,7 +594,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Tag - name: Tag
env: env:
TAG: ${{ needs.tags.outputs.major-minor }} TAG: ${{ needs.tags.outputs.major-minor }}
@ -666,7 +666,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
ref: ${{ needs.stable-release-trigger.outputs.stable-tag }} ref: ${{ needs.stable-release-trigger.outputs.stable-tag }}
- name: Tag - name: Tag