From 4775c45432945ed55401b1c3c3d17764a3d47167 Mon Sep 17 00:00:00 2001 From: Prodesire Date: Tue, 1 Oct 2024 21:51:20 +0800 Subject: [PATCH] update github action version --- .github/workflows/build.yml | 4 ++-- .github/workflows/test.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ce4a9aa..3390043 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Check out repository code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install dependencies run: | curl -ssL https://magic.modular.com | bash @@ -24,7 +24,7 @@ jobs: BASHRC=$( [ -f "$HOME/.bash_profile" ] && echo "$HOME/.bash_profile" || echo "$HOME/.bashrc" ) source "$BASHRC" && magic run mojo package ${{ env.MORROW_SRC }} -o ${{ github.workspace }}/${{ env.PACKAGE_NAME }} - name: Upload package - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ env.PACKAGE_NAME }} path: ${{ github.workspace }}/${{ env.PACKAGE_NAME }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e4d61ff..9aea41a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Check out repository code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install dependencies run: | curl -ssL https://magic.modular.com | bash