Skip to content

Commit

Permalink
Update action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
topjohnwu committed Feb 1, 2024
1 parent fdb6b9d commit d2d908d
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@ 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"

- name: Build toolchain
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
Expand All @@ -45,7 +45,7 @@ jobs:
shell: msys2 {0}
steps:
- name: Check out
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1

Expand All @@ -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
Expand All @@ -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"

Expand All @@ -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
Expand All @@ -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"

Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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

0 comments on commit d2d908d

Please sign in to comment.