Skip to content

Commit

Permalink
Update github actions that are deprecated.
Browse files Browse the repository at this point in the history
  • Loading branch information
hzeller committed Feb 16, 2025
1 parent 0e3fe53 commit a7a0ca1
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/verible-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
steps:

- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
steps:

- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
|| ( cat verible_clang-tidy.out ; exit 1)
- name: 📤 Upload performance graphs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: success() || failure()
with:
name: "diag"
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:
steps:

- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# Download complete repository + tags
fetch-depth: 0
Expand Down Expand Up @@ -221,7 +221,7 @@ jobs:
- name: Upload bazel-bin
if: matrix.mode == 'compile' && matrix.arch == 'x86_64'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: verible-bin
path: verible-bin.tar
Expand All @@ -236,15 +236,15 @@ jobs:
tar cvzf verible-${VERSION}-linux-static-${{matrix.arch}}.tar.gz verible-${VERSION}
- name: 📤 Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: verible-*.tar.gz

- name: 📤 Upload performance graphs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: success() || failure()
with:
name: "diag"
name: "diag-${{ matrix.arch }}-${{ matrix.mode }}"
path: "**/plot_*.svg"


Expand All @@ -255,7 +255,7 @@ jobs:
steps:

- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# Download complete repository + tags
fetch-depth: 0
Expand All @@ -280,7 +280,7 @@ jobs:
steps:

- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# Download complete repository + tags
fetch-depth: 0
Expand All @@ -298,7 +298,7 @@ jobs:
./.github/bin/run-kythe.sh
- name: 📤 Upload Kythe xRefs to the action artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: kythe_output/*.kzip

Expand All @@ -311,7 +311,7 @@ jobs:
echo "USE_BAZEL_VERSION=6.5.0" >> $GITHUB_ENV
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -347,7 +347,7 @@ jobs:
tar cvzf verible-${VERSION}-macOS.tar.gz verible-${VERSION}-macOS
- name: 📤 Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: verible-*.tar.gz

Expand All @@ -356,7 +356,7 @@ jobs:
runs-on: [self-hosted, Linux, X64, gcp-custom-runners]
steps:

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -369,7 +369,7 @@ jobs:
runs-on: windows-2019
steps:

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -414,7 +414,7 @@ jobs:
7z a "verible-${VERSION}-win64.zip" "c:/verible-${VERSION}-win64"
- name: 📤 Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: verible-*.zip

Expand Down Expand Up @@ -457,7 +457,7 @@ jobs:
tar --exclude=.git -cvzf ${OUT_SRC}.tar.gz ../${OUT_SRC}
- name: 📤 Upload Source tar
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: verible-*.tar.gz

Expand All @@ -472,13 +472,13 @@ jobs:

steps:

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
# Download complete repository + tags
fetch-depth: 0

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

- name: Generate and apply TAG
run: |
Expand Down Expand Up @@ -525,9 +525,9 @@ jobs:
contents: write

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: verible-bin

Expand Down

0 comments on commit a7a0ca1

Please sign in to comment.