Skip to content

Commit

Permalink
gh actions: update upload/download-artifact to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
floooh committed Mar 1, 2024
1 parent 2bd5a56 commit c4252f2
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/gen_bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,27 +63,27 @@ jobs:
cd bindgen
python3 gen_all.py
- name: upload-zig-artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ignore-me-zig
retention-days: 1
path: bindgen/sokol-zig/src/sokol
- name: upload-nim-artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ignore-me-nim
retention-days: 1
path: bindgen/sokol-nim/src/sokol
- name: upload-odin-artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ignore-me-odin
retention-days: 1
path: |
bindgen/sokol-odin/sokol
bindgen/sokol-odin/c
- name: upload-rust-artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ignore-me-rust
retention-days: 1
Expand All @@ -100,7 +100,7 @@ jobs:
with:
repository: floooh/sokol-zig
- uses: goto-bus-stop/setup-zig@v2
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ignore-me-zig
path: src/sokol
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
- uses: actions/checkout@v4
with:
repository: floooh/sokol-nim
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ignore-me-nim
path: src/sokol
Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:
- uses: actions/checkout@v4
with:
repository: floooh/sokol-odin
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ignore-me-odin
# NOTE: see https://github.com/floooh/sokol-odin/blob/main/.github/workflows/main.yml
Expand Down Expand Up @@ -221,7 +221,7 @@ jobs:
- uses: actions/checkout@v4
with:
repository: floooh/sokol-rust
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ignore-me-rust
path: src
Expand All @@ -248,7 +248,7 @@ jobs:
with:
repository: floooh/sokol-zig
ssh-key: ${{ secrets.GHACTIONS_ZIG_PUSH }}
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ignore-me-zig
path: src/sokol
Expand All @@ -269,7 +269,7 @@ jobs:
with:
repository: floooh/sokol-nim
ssh-key: ${{ secrets.GHACTIONS_NIM_PUSH }}
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ignore-me-nim
path: src/sokol
Expand All @@ -290,7 +290,7 @@ jobs:
with:
repository: floooh/sokol-odin
ssh-key: ${{ secrets.GHACTIONS_ODIN_PUSH }}
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ignore-me-odin
- name: "commit and push"
Expand All @@ -312,7 +312,7 @@ jobs:
with:
repository: floooh/sokol-rust
ssh-key: ${{ secrets.GHACTIONS_RUST_PUSH }}
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ignore-me-rust
path: src
Expand Down

0 comments on commit c4252f2

Please sign in to comment.