summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2022-11-08 09:21:10 +1100
committerDarren Tucker <dtucker@dtucker.net>2022-11-08 10:29:32 +1100
commit2ea03d1f6d0a05ee2b63ed2dc0f2d54f1e4655a1 (patch)
treec621f27125eabfd31d9a3719e9f31d1216200133 /.github
parent4e316ff0f18a118232bb9ac6512ee62773a9e8ea (diff)
downloadopenssh-git-2ea03d1f6d0a05ee2b63ed2dc0f2d54f1e4655a1.tar.gz
Update checkout and upload actions.
Update actions/checkout and actions/upload-artifact to main branch for compatibility with node.js v16.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/c-cpp.yml6
-rw-r--r--.github/workflows/cifuzz.yml2
-rw-r--r--.github/workflows/selfhosted.yml6
-rw-r--r--.github/workflows/upstream.yml4
4 files changed, 9 insertions, 9 deletions
diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml
index 3d55f845..e1fbcdb8 100644
--- a/.github/workflows/c-cpp.yml
+++ b/.github/workflows/c-cpp.yml
@@ -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: |
diff --git a/.github/workflows/cifuzz.yml b/.github/workflows/cifuzz.yml
index 829e682f..7ca8c471 100644
--- a/.github/workflows/cifuzz.yml
+++ b/.github/workflows/cifuzz.yml
@@ -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
diff --git a/.github/workflows/selfhosted.yml b/.github/workflows/selfhosted.yml
index 2c03d148..f761f5bf 100644
--- a/.github/workflows/selfhosted.yml
+++ b/.github/workflows/selfhosted.yml
@@ -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: |
diff --git a/.github/workflows/upstream.yml b/.github/workflows/upstream.yml
index 8a28468d..46672d6f 100644
--- a/.github/workflows/upstream.yml
+++ b/.github/workflows/upstream.yml
@@ -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: |