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

chore(CI): update GitHub Actions #2012

Merged
merged 3 commits into from
Jan 6, 2024
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ jobs:
ID: ${{ startsWith(github.ref, 'refs/tags/') && github.ref || github.sha }}

- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.binary || 'sccache' }}-${{ steps.id.outputs.id }}-${{ matrix.target }}
path: target/${{ matrix.target }}/release/${{ matrix.binary || 'sccache' }}${{ endsWith(matrix.target, '-msvc') && '.exe' || '' }}
Expand Down Expand Up @@ -358,7 +358,7 @@ jobs:
fi

- name: Get artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4

- name: Create release assets
run: |
Expand Down
34 changes: 17 additions & 17 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: |
cargo build --all-features

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: integration-tests
path: ./target/debug/sccache
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
with:
toolchain: "stable"

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: integration-tests
path: /home/runner/.cargo/bin/
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
with:
toolchain: "stable"

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: integration-tests
path: /home/runner/.cargo/bin/
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:
with:
toolchain: "stable"

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: integration-tests
path: /home/runner/.cargo/bin/
Expand Down Expand Up @@ -204,7 +204,7 @@ jobs:
uses: actions/checkout@v4

- name: Configure Cache Env
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
Expand All @@ -215,7 +215,7 @@ jobs:
with:
toolchain: "stable"

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: integration-tests
path: /home/runner/.cargo/bin/
Expand Down Expand Up @@ -270,7 +270,7 @@ jobs:
with:
toolchain: "stable"

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: integration-tests
path: /home/runner/.cargo/bin/
Expand Down Expand Up @@ -322,7 +322,7 @@ jobs:
with:
toolchain: "stable"

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: integration-tests
path: /home/runner/.cargo/bin/
Expand Down Expand Up @@ -433,7 +433,7 @@ jobs:
- uses: actions/checkout@v4

- name: Configure Cache Env
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
Expand All @@ -445,7 +445,7 @@ jobs:
chmod +x llvm.sh
sudo ./llvm.sh "${LLVM_VERSION}"

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: integration-tests
path: /home/runner/.cargo/bin/
Expand Down Expand Up @@ -483,13 +483,13 @@ jobs:
- uses: actions/checkout@v4

- name: Configure Cache Env
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '')

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: integration-tests
path: /home/runner/.cargo/bin/
Expand Down Expand Up @@ -528,13 +528,13 @@ jobs:
- uses: actions/checkout@v4

- name: Configure Cache Env
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '')

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: integration-tests
path: /home/runner/.cargo/bin/
Expand Down Expand Up @@ -584,13 +584,13 @@ jobs:
- uses: actions/checkout@v4

- name: Configure Cache Env
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '')

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: integration-tests
path: /home/runner/.cargo/bin/
Expand Down Expand Up @@ -642,7 +642,7 @@ jobs:
RUSTDOCFLAGS: "-Cpanic=abort"

steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: integration-tests
path: /home/runner/.cargo/bin/
Expand Down
Loading