Update action versions

This commit is contained in:
topjohnwu 2024-02-01 15:02:33 -08:00
parent fdb6b9d9a3
commit d2d908d8f8

View File

@ -12,12 +12,12 @@ jobs:
steps:
- name: Check out
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up Python 3
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.x"
@ -25,7 +25,7 @@ jobs:
run: ./build.sh
- name: Upload build artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ github.event_name == 'workflow_dispatch' }}
with:
name: ondk-linux
@ -45,7 +45,7 @@ jobs:
shell: msys2 {0}
steps:
- name: Check out
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
@ -64,7 +64,7 @@ jobs:
bash build-windows.sh
- name: Upload build artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ github.event_name == 'workflow_dispatch' }}
with:
name: ondk-windows
@ -82,12 +82,12 @@ jobs:
steps:
- name: Check out
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up Python 3
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.x"
@ -100,7 +100,7 @@ jobs:
tar c out | xz --x86 --lzma2 > tmp/out.x64.tar.xz
- name: Upload build artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: macos-x64
path: tmp/*.tar.xz
@ -111,12 +111,12 @@ jobs:
steps:
- name: Check out
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up Python 3
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.x"
@ -129,7 +129,7 @@ jobs:
tar c out | xz > tmp/out.arm64.tar.xz
- name: Upload build artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: macos-arm64
path: tmp/*.tar.xz
@ -141,18 +141,18 @@ jobs:
steps:
- name: Check out
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Download x64 artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: macos-x64
path: tmp
- name: Download arm64 artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: macos-arm64
path: tmp
@ -161,7 +161,7 @@ jobs:
run: ./dist-macos.sh
- name: Upload build artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ github.event_name == 'workflow_dispatch' }}
with:
name: ondk-macos
@ -174,13 +174,13 @@ jobs:
files: dist/*.tar.xz
- name: Remove x64 artifact
uses: geekyeggo/delete-artifact@v2
uses: geekyeggo/delete-artifact@v4
with:
name: macos-x64
failOnError: false
- name: Remove arm64 artifact
uses: geekyeggo/delete-artifact@v2
uses: geekyeggo/delete-artifact@v4
with:
name: macos-arm64
failOnError: false