Skip to content

Commit

Permalink
[ci] Update github actions versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisCummins committed Nov 2, 2022
1 parent 8ab365f commit e659791
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 29 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
BAZEL_BUILD_OPTS: --config=ci -c opt

- name: Upload artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ env.ARTIFACT }}
path: dist/*.whl
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
python-version: ${{ matrix.python }}

- name: Download artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: ${{ env.ARTIFACT }}

Expand Down
54 changes: 27 additions & 27 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
BAZEL_BUILD_OPTS: --config=ci

- name: Upload Python wheel
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: linux-wheel
path: dist/*.whl
Expand Down Expand Up @@ -81,31 +81,31 @@ jobs:
shell: bash

- name: Upload Python wheel
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: linux-wheel-cmake
path: ~/cmake_build/py_pkg/dist/*.whl
if-no-files-found: error
retention-days: 7

- name: Upload compute_programl binary
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: linux-compute-programl-cmake
path: compiler_gym/third_party/programl/compute_programl
if-no-files-found: error
retention-days: 7

- name: Upload loop_unroller binary
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: linux-loop-unroller-cmake
path: examples/example_unrolling_service/loop_unroller/loop_unroller
if-no-files-found: error
retention-days: 7

- name: Upload opt_loops binary
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: linux-opt-loops-cmake
path: examples/loop_optimizations_service/opt_loops/opt_loops
Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
shell: bash

- name: Upload Python wheel
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: mlir-env-linux-wheel-cmake
path: ~/cmake_build/py_pkg/dist/*.whl
Expand All @@ -184,7 +184,7 @@ jobs:
BAZEL_BUILD_OPTS: --config=ci

- name: Upload Python wheel
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: macos-wheel
path: dist/*.whl
Expand All @@ -207,7 +207,7 @@ jobs:
python-version: ${{ matrix.python }}

- name: Download Python wheel
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: linux-wheel

Expand Down Expand Up @@ -244,7 +244,7 @@ jobs:
python-version: ${{ matrix.python }}

- name: Download Python wheel
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: linux-wheel-cmake

Expand All @@ -258,17 +258,17 @@ jobs:
run: python -m pip install -r tests/requirements.txt

- name: Download compute_programl
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: linux-compute-programl-cmake

- name: Download loop_unroller
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: linux-loop-unroller-cmake

- name: Download opt_loops
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: linux-opt-loops-cmake

Expand Down Expand Up @@ -304,7 +304,7 @@ jobs:
python-version: ${{ matrix.python }}

- name: Download Python wheel
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: mlir-env-linux-wheel-cmake

Expand Down Expand Up @@ -336,7 +336,7 @@ jobs:
python-version: ${{ matrix.python }}

- name: Download Python wheel
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: macos-wheel

Expand Down Expand Up @@ -373,7 +373,7 @@ jobs:
python-version: ${{ matrix.python }}

- name: Download Python wheel
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: linux-wheel

Expand Down Expand Up @@ -407,7 +407,7 @@ jobs:
python-version: ${{ matrix.python }}

- name: Download Python wheel
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: macos-wheel

Expand Down Expand Up @@ -441,7 +441,7 @@ jobs:
python-version: ${{ matrix.python }}

- name: Download Python wheel
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: linux-wheel

Expand Down Expand Up @@ -477,7 +477,7 @@ jobs:
- uses: actions/checkout@v3

- name: Download Python wheel
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: linux-wheel

Expand Down Expand Up @@ -508,7 +508,7 @@ jobs:
python-version: '3.10'

- name: Download Python wheel
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: macos-wheel

Expand Down Expand Up @@ -539,7 +539,7 @@ jobs:
- uses: actions/checkout@v3

- name: Download Python wheel
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: linux-wheel

Expand Down Expand Up @@ -570,7 +570,7 @@ jobs:
python-version: '3.10'

- name: Download Python wheel
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: macos-wheel

Expand Down Expand Up @@ -605,7 +605,7 @@ jobs:
python-version: ${{ matrix.python }}

- name: Download Python wheel
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: linux-wheel

Expand Down Expand Up @@ -640,7 +640,7 @@ jobs:
python-version: ${{ matrix.python }}

- name: Download Python wheel
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: macos-wheel

Expand Down Expand Up @@ -684,7 +684,7 @@ jobs:
BAZEL_BUILD_OPTS: --config=ci

- name: Upload address sanitized LLVM compiler service
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: compiler_gym-llvm-service-linux-asan-build
path: compiler_gym-llvm-service.tar.bz2
Expand All @@ -703,12 +703,12 @@ jobs:
python-version: '3.10'

- name: Download Python wheel
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: linux-wheel

- name: Download address sanitized LLVM compiler service
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: compiler_gym-llvm-service-linux-asan-build

Expand Down Expand Up @@ -755,7 +755,7 @@ jobs:
with:
python-version: '3.10'

- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: npm
Expand Down

0 comments on commit e659791

Please sign in to comment.