Skip to content

Commit

Permalink
Update github actions.
Browse files Browse the repository at this point in the history
New versions for get-time, cancel-workflow and upload-artifact actions.
  • Loading branch information
hzeller committed Dec 20, 2023
1 parent 7fdc287 commit 3538b11
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/verible-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
steps:

- name: Cancel previous
uses: styfle/cancel-workflow-action@0.8.0
uses: styfle/cancel-workflow-action@0.12.0
with:
access_token: ${{ github.token }}

Expand All @@ -49,7 +49,7 @@ jobs:
./.github/bin/check-potential-problems.sh
- name: 📤 Upload performance graphs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: success() || failure()
with:
name: "diag"
Expand All @@ -65,7 +65,7 @@ jobs:
steps:

- name: Cancel previous
uses: styfle/cancel-workflow-action@0.8.0
uses: styfle/cancel-workflow-action@0.12.0
with:
access_token: ${{ github.token }}

Expand All @@ -83,7 +83,7 @@ jobs:
- name: Create Cache Timestamp
id: cache_timestamp
uses: nanzm/get-time-action@v1.1
uses: nanzm/get-time-action@v2.0
with:
format: 'YYYY-MM-DD-HH-mm-ss'

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

- name: Cancel previous
uses: styfle/cancel-workflow-action@0.8.0
uses: styfle/cancel-workflow-action@0.12.0
with:
access_token: ${{ github.token }}

Expand All @@ -175,7 +175,7 @@ jobs:

- name: Create Cache Timestamp
id: cache_timestamp
uses: nanzm/get-time-action@v1.1
uses: nanzm/get-time-action@v2.0
with:
format: 'YYYY-MM-DD-HH-mm-ss'

Expand Down Expand Up @@ -235,7 +235,7 @@ jobs:

- name: Upload bazel-bin
if: matrix.mode == 'compile' && matrix.arch == 'x86_64'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: verible-bin
path: verible-bin.tar
Expand All @@ -250,12 +250,12 @@ jobs:
tar cvzf verible-${VERSION}-linux-static-${{matrix.arch}}.tar.gz verible-${VERSION}
- name: 📤 Upload artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
path: verible-*.tar.gz

- name: 📤 Upload performance graphs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: success() || failure()
with:
name: "diag"
Expand Down Expand Up @@ -312,7 +312,7 @@ jobs:
./.github/bin/run-kythe.sh
- name: 📤 Upload Kythe xRefs to the action artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
path: kythe_output/*.kzip

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

- name: Cancel previous
uses: styfle/cancel-workflow-action@0.8.0
uses: styfle/cancel-workflow-action@0.12.0
with:
access_token: ${{ github.token }}

Expand All @@ -338,7 +338,7 @@ jobs:

- name: Create Cache Timestamp
id: cache_timestamp
uses: nanzm/get-time-action@v1.1
uses: nanzm/get-time-action@v2.0
with:
format: 'YYYY-MM-DD-HH-mm-ss'

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

- name: Cancel previous
uses: styfle/cancel-workflow-action@0.8.0
uses: styfle/cancel-workflow-action@0.12.0
with:
access_token: ${{ github.token }}

Expand All @@ -381,7 +381,7 @@ jobs:

- name: Create Cache Timestamp
id: cache_timestamp
uses: nanzm/get-time-action@v1.1
uses: nanzm/get-time-action@v2.0
with:
format: 'YYYY-MM-DD-HH-mm-ss'

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

Expand Down Expand Up @@ -434,7 +434,7 @@ jobs:

- name: Create Cache Timestamp
id: cache_timestamp
uses: nanzm/get-time-action@v1.1
uses: nanzm/get-time-action@v2.0
with:
format: 'YYYY-MM-DD-HH-mm-ss'

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

Expand Down

0 comments on commit 3538b11

Please sign in to comment.