Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Upgrade actions versions #25

Merged
merged 2 commits into from
Mar 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ jobs:
name: bochscpu / ${{ matrix.variant.os }} / ${{ matrix.variant.arch }}
steps :
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Cache Artifacts
id: cache-artifacts
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: artifact
key: bochscpu-libs-${{ matrix.variant.os }}-${{ matrix.variant.arch }}-${{ env.BOCHS_REV }}
Expand All @@ -48,7 +48,7 @@ jobs:
run: |
echo NB_CPU=$(sysctl -n hw.ncpu) >> $GITHUB_ENV

- uses: microsoft/setup-msbuild@v1
- uses: microsoft/setup-msbuild@v2
if: steps.cache-artifacts.outputs.cache-hit != 'true' && matrix.variant.os == 'windows-latest'

- uses: ilammy/msvc-dev-cmd@v1
Expand All @@ -73,7 +73,7 @@ jobs:
cp -v bxbuild/bochscpu-ffi/target/debug/lib*.a artifact/RelWithDebInfo/

- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
if-no-files-found: error
name: bochscpu-libs-${{ matrix.variant.os }}-${{ matrix.variant.arch }}
Expand All @@ -96,10 +96,10 @@ jobs:
CMAKE_FLAGS: ""
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Download BochsCPU libs
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
id: download_artifact
with:
name: bochscpu-libs-${{ matrix.variant.os }}-${{ matrix.variant.arch }}
Expand All @@ -110,7 +110,7 @@ jobs:
mv ${{steps.download_artifact.outputs.download-path}}/* bochscpu/lib/

- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.variant.py-arch }}
Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:
python -m pip wheel . -w ./wheel

- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: bochscpu-${{ env.VERSION }}-py${{ matrix.python-version }}-${{ matrix.variant.os }}.${{ matrix.variant.config }}-${{ matrix.variant.arch }}
path: |
Expand All @@ -181,7 +181,7 @@ jobs:
id-token: write
steps:
- name: Download artifact for ${{ matrix.variant.os }}/${{ matrix.python-version }}/${{ matrix.variant.config }}
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
id: download_wheels
with:
name: bochscpu-${{ env.VERSION }}-py${{ matrix.python-version }}-${{ matrix.variant.os }}.${{ matrix.variant.config }}-${{ matrix.variant.arch }}
Expand Down