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:
parent
4e316ff0f1
commit
2ea03d1f6d
|
@ -88,7 +88,7 @@ jobs:
|
|||
- name: install cygwin
|
||||
if: ${{ startsWith(matrix.os, 'windows') }}
|
||||
uses: cygwin/cygwin-install-action@master
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@main
|
||||
- name: setup CI system
|
||||
run: sh ./.github/setup_ci.sh ${{ matrix.configs }}
|
||||
- name: autoreconf
|
||||
|
@ -96,7 +96,7 @@ jobs:
|
|||
- name: configure
|
||||
run: sh ./.github/configure.sh ${{ matrix.configs }}
|
||||
- name: save config
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@main
|
||||
with:
|
||||
name: ${{ matrix.os }}-${{ matrix.configs }}-config
|
||||
path: config.h
|
||||
|
@ -111,7 +111,7 @@ jobs:
|
|||
TEST_SSH_HOSTBASED_AUTH: yes
|
||||
- name: save logs
|
||||
if: failure()
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@main
|
||||
with:
|
||||
name: ${{ matrix.os }}-${{ matrix.configs }}-logs
|
||||
path: |
|
||||
|
|
|
@ -25,7 +25,7 @@ jobs:
|
|||
dry-run: false
|
||||
language: c++
|
||||
- name: Upload Crash
|
||||
uses: actions/upload-artifact@v1
|
||||
uses: actions/upload-artifact@main
|
||||
if: failure() && steps.build.outcome == 'success'
|
||||
with:
|
||||
name: artifacts
|
||||
|
|
|
@ -74,7 +74,7 @@ jobs:
|
|||
steps:
|
||||
- name: shutdown VM if running
|
||||
run: vmshutdown
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@main
|
||||
- name: autoreconf
|
||||
run: autoreconf
|
||||
- name: startup VM
|
||||
|
@ -82,7 +82,7 @@ jobs:
|
|||
- name: configure
|
||||
run: vmrun ./.github/configure.sh ${{ matrix.configs }}
|
||||
- name: save config
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@main
|
||||
with:
|
||||
name: ${{ matrix.os }}-${{ matrix.configs }}-config
|
||||
path: config.h
|
||||
|
@ -95,7 +95,7 @@ jobs:
|
|||
timeout-minutes: 600
|
||||
- name: save logs
|
||||
if: failure()
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@main
|
||||
with:
|
||||
name: ${{ matrix.os }}-${{ matrix.configs }}-logs
|
||||
path: |
|
||||
|
|
|
@ -17,7 +17,7 @@ jobs:
|
|||
os: [ obsdsnap, obsdsnap-i386 ]
|
||||
configs: [ default, without-openssl, ubsan ]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@main
|
||||
- name: shutdown VM if running
|
||||
run: vmshutdown
|
||||
- name: startup VM
|
||||
|
@ -37,7 +37,7 @@ jobs:
|
|||
timeout-minutes: 300
|
||||
- name: save logs
|
||||
if: failure()
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@main
|
||||
with:
|
||||
name: ${{ matrix.os }}-${{ matrix.configs }}-logs
|
||||
path: |
|
||||
|
|
Loading…
Reference in New Issue