Update checkout and upload actions.

Update actions/checkout and actions/upload-artifact to main branch for
compatibility with node.js v16.
This commit is contained in:
Darren Tucker 2022-11-08 09:21:10 +11:00
parent 4e316ff0f1
commit 2ea03d1f6d
No known key found for this signature in database
4 changed files with 9 additions and 9 deletions

View File

@ -88,7 +88,7 @@ jobs:
- name: install cygwin - name: install cygwin
if: ${{ startsWith(matrix.os, 'windows') }} if: ${{ startsWith(matrix.os, 'windows') }}
uses: cygwin/cygwin-install-action@master uses: cygwin/cygwin-install-action@master
- uses: actions/checkout@v2 - uses: actions/checkout@main
- name: setup CI system - name: setup CI system
run: sh ./.github/setup_ci.sh ${{ matrix.configs }} run: sh ./.github/setup_ci.sh ${{ matrix.configs }}
- name: autoreconf - name: autoreconf
@ -96,7 +96,7 @@ jobs:
- name: configure - name: configure
run: sh ./.github/configure.sh ${{ matrix.configs }} run: sh ./.github/configure.sh ${{ matrix.configs }}
- name: save config - name: save config
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@main
with: with:
name: ${{ matrix.os }}-${{ matrix.configs }}-config name: ${{ matrix.os }}-${{ matrix.configs }}-config
path: config.h path: config.h
@ -111,7 +111,7 @@ jobs:
TEST_SSH_HOSTBASED_AUTH: yes TEST_SSH_HOSTBASED_AUTH: yes
- name: save logs - name: save logs
if: failure() if: failure()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@main
with: with:
name: ${{ matrix.os }}-${{ matrix.configs }}-logs name: ${{ matrix.os }}-${{ matrix.configs }}-logs
path: | path: |

View File

@ -25,7 +25,7 @@ jobs:
dry-run: false dry-run: false
language: c++ language: c++
- name: Upload Crash - name: Upload Crash
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@main
if: failure() && steps.build.outcome == 'success' if: failure() && steps.build.outcome == 'success'
with: with:
name: artifacts name: artifacts

View File

@ -74,7 +74,7 @@ jobs:
steps: steps:
- name: shutdown VM if running - name: shutdown VM if running
run: vmshutdown run: vmshutdown
- uses: actions/checkout@v2 - uses: actions/checkout@main
- name: autoreconf - name: autoreconf
run: autoreconf run: autoreconf
- name: startup VM - name: startup VM
@ -82,7 +82,7 @@ jobs:
- name: configure - name: configure
run: vmrun ./.github/configure.sh ${{ matrix.configs }} run: vmrun ./.github/configure.sh ${{ matrix.configs }}
- name: save config - name: save config
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@main
with: with:
name: ${{ matrix.os }}-${{ matrix.configs }}-config name: ${{ matrix.os }}-${{ matrix.configs }}-config
path: config.h path: config.h
@ -95,7 +95,7 @@ jobs:
timeout-minutes: 600 timeout-minutes: 600
- name: save logs - name: save logs
if: failure() if: failure()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@main
with: with:
name: ${{ matrix.os }}-${{ matrix.configs }}-logs name: ${{ matrix.os }}-${{ matrix.configs }}-logs
path: | path: |

View File

@ -17,7 +17,7 @@ jobs:
os: [ obsdsnap, obsdsnap-i386 ] os: [ obsdsnap, obsdsnap-i386 ]
configs: [ default, without-openssl, ubsan ] configs: [ default, without-openssl, ubsan ]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@main
- name: shutdown VM if running - name: shutdown VM if running
run: vmshutdown run: vmshutdown
- name: startup VM - name: startup VM
@ -37,7 +37,7 @@ jobs:
timeout-minutes: 300 timeout-minutes: 300
- name: save logs - name: save logs
if: failure() if: failure()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@main
with: with:
name: ${{ matrix.os }}-${{ matrix.configs }}-logs name: ${{ matrix.os }}-${{ matrix.configs }}-logs
path: | path: |