From c73e2e4d487baf80274964c559051b29bef78d13 Mon Sep 17 00:00:00 2001 From: Yating Jing Date: Thu, 29 Dec 2022 18:17:48 +0000 Subject: [PATCH 1/6] upgrade `setup-python` action to v4 --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fbbc0b5234..3747ba7907 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,7 +40,7 @@ jobs: python_version: ['3.7'] steps: - uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e - - uses: actions/setup-python@152ba7c4dd6521b8e9c93f72d362ce03bf6c4f20 + - uses: actions/setup-python@v4 with: python-version: ${{ matrix.python_version }} architecture: 'x64' @@ -143,7 +143,7 @@ jobs: rust_version: '1.65.0' steps: - uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e - - uses: actions/setup-python@152ba7c4dd6521b8e9c93f72d362ce03bf6c4f20 + - uses: actions/setup-python@v4 with: python-version: '3.8' architecture: 'x64' @@ -217,7 +217,7 @@ jobs: python_version: ['3.7', '3.8', '3.9', '3.10'] steps: - uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e - - uses: actions/setup-python@152ba7c4dd6521b8e9c93f72d362ce03bf6c4f20 + - uses: actions/setup-python@v4 with: python-version: ${{ matrix.python_version }} architecture: 'x64' @@ -235,7 +235,7 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e - - uses: actions/setup-python@152ba7c4dd6521b8e9c93f72d362ce03bf6c4f20 + - uses: actions/setup-python@v4 with: python-version: '3.7' architecture: 'x64' From 55658f3397e51c42e857f14d3d056aec940e3f08 Mon Sep 17 00:00:00 2001 From: Yating Jing Date: Thu, 29 Dec 2022 18:33:23 +0000 Subject: [PATCH 2/6] upgrade `checkout` action to v3 --- .github/workflows/ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3747ba7907..8532f6d4b2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,7 +39,7 @@ jobs: tf_version_id: ['tf', 'notf'] python_version: ['3.7'] steps: - - uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e + - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: python-version: ${{ matrix.python_version }} @@ -142,7 +142,7 @@ jobs: platform: 'ubuntu-22.04' rust_version: '1.65.0' steps: - - uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e + - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: python-version: '3.8' @@ -216,7 +216,7 @@ jobs: # changes, and we want to catch them all. python_version: ['3.7', '3.8', '3.9', '3.10'] steps: - - uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e + - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: python-version: ${{ matrix.python_version }} @@ -234,7 +234,7 @@ jobs: lint-python-yaml-docs: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e + - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: python-version: '3.7' @@ -267,7 +267,7 @@ jobs: rust_version: ['1.65.0'] cargo_raze_version: ['0.16.1'] steps: - - uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e + - uses: actions/checkout@v3 - name: 'Cache Cargo artifacts' uses: actions/cache@1a9e2138d905efd099035b49d8b7a3888c653ca8 with: @@ -307,7 +307,7 @@ jobs: lint-frontend: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e + - uses: actions/checkout@v3 - uses: actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d with: # default on setup-node@1 is v10.24.1. @@ -338,7 +338,7 @@ jobs: lint-misc: # build, protos, etc. runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e + - uses: actions/checkout@v3 - name: 'Set up Buildifier' run: | ci/download_buildifier.sh "${BUILDTOOLS_VERSION}" "${BUILDIFIER_SHA256SUM}" ~/buildifier From 1b38cd6f6c59b22defcd1170d317951a0390113e Mon Sep 17 00:00:00 2001 From: Yating Jing Date: Thu, 29 Dec 2022 18:44:59 +0000 Subject: [PATCH 3/6] upgrade `upload-artifact` action to v3 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8532f6d4b2..7fd36d1e11 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -201,7 +201,7 @@ jobs: --out-dir /tmp/pip_package \ ; - name: 'Upload' - uses: actions/upload-artifact@ee69f02b3dfdecd58bb31b4d133da38ba6fe3700 + uses: actions/upload-artifact@v3 with: name: tensorboard-data-server path: /tmp/pip_package/* From 8adadcb8be0456b8a937cbaf1d1bb69217d94bba Mon Sep 17 00:00:00 2001 From: Yating Jing Date: Thu, 29 Dec 2022 18:59:09 +0000 Subject: [PATCH 4/6] Revert "upgrade `checkout` action to v3" This reverts commit 714cdbd2c7e8891843d2de691b4ea91a310319ec. --- .github/workflows/ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7fd36d1e11..7dd2e303c3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,7 +39,7 @@ jobs: tf_version_id: ['tf', 'notf'] python_version: ['3.7'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e - uses: actions/setup-python@v4 with: python-version: ${{ matrix.python_version }} @@ -142,7 +142,7 @@ jobs: platform: 'ubuntu-22.04' rust_version: '1.65.0' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e - uses: actions/setup-python@v4 with: python-version: '3.8' @@ -216,7 +216,7 @@ jobs: # changes, and we want to catch them all. python_version: ['3.7', '3.8', '3.9', '3.10'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e - uses: actions/setup-python@v4 with: python-version: ${{ matrix.python_version }} @@ -234,7 +234,7 @@ jobs: lint-python-yaml-docs: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e - uses: actions/setup-python@v4 with: python-version: '3.7' @@ -267,7 +267,7 @@ jobs: rust_version: ['1.65.0'] cargo_raze_version: ['0.16.1'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e - name: 'Cache Cargo artifacts' uses: actions/cache@1a9e2138d905efd099035b49d8b7a3888c653ca8 with: @@ -307,7 +307,7 @@ jobs: lint-frontend: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e - uses: actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d with: # default on setup-node@1 is v10.24.1. @@ -338,7 +338,7 @@ jobs: lint-misc: # build, protos, etc. runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e - name: 'Set up Buildifier' run: | ci/download_buildifier.sh "${BUILDTOOLS_VERSION}" "${BUILDIFIER_SHA256SUM}" ~/buildifier From ab269c0322d4166bba0f8902daa3da2d2e6df60b Mon Sep 17 00:00:00 2001 From: Yating Jing Date: Tue, 3 Jan 2023 22:53:07 +0000 Subject: [PATCH 5/6] pin to commit instead of tag --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7dd2e303c3..45ca4c0b9c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,7 +40,7 @@ jobs: python_version: ['3.7'] steps: - uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e - - uses: actions/setup-python@v4 + - uses: actions/setup-python@13ae5bb136fac2878aff31522b9efb785519f984 # v4.3.0 with: python-version: ${{ matrix.python_version }} architecture: 'x64' @@ -124,7 +124,7 @@ jobs: - name: 'Upload Pip package as an artifact (with TensorFlow only)' # Prevent uploads when running on forks or non-master branch. if: matrix.tf_version_id == 'tf' && github.repository == 'tensorflow/tensorboard' && github.ref == 'refs/heads/master' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@ 83fd05a356d7e2593de66fc9913b3002723633cb # v3.1.1 with: name: tb-nightly path: /tmp/tb_nightly_pip_package/* @@ -143,7 +143,7 @@ jobs: rust_version: '1.65.0' steps: - uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e - - uses: actions/setup-python@v4 + - uses: actions/setup-python@13ae5bb136fac2878aff31522b9efb785519f984 # v4.3.0 with: python-version: '3.8' architecture: 'x64' @@ -201,7 +201,7 @@ jobs: --out-dir /tmp/pip_package \ ; - name: 'Upload' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@ 83fd05a356d7e2593de66fc9913b3002723633cb # v3.1.1 with: name: tensorboard-data-server path: /tmp/pip_package/* @@ -217,7 +217,7 @@ jobs: python_version: ['3.7', '3.8', '3.9', '3.10'] steps: - uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e - - uses: actions/setup-python@v4 + - uses: actions/setup-python@13ae5bb136fac2878aff31522b9efb785519f984 # v4.3.0 with: python-version: ${{ matrix.python_version }} architecture: 'x64' @@ -235,7 +235,7 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e - - uses: actions/setup-python@v4 + - uses: actions/setup-python@13ae5bb136fac2878aff31522b9efb785519f984 # v4.3.0 with: python-version: '3.7' architecture: 'x64' From 3634071134a6cc52c118d5451bc18b2a2230abe6 Mon Sep 17 00:00:00 2001 From: Yating Jing Date: Tue, 3 Jan 2023 22:57:40 +0000 Subject: [PATCH 6/6] remove space --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 45ca4c0b9c..c6850cd609 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -124,7 +124,7 @@ jobs: - name: 'Upload Pip package as an artifact (with TensorFlow only)' # Prevent uploads when running on forks or non-master branch. if: matrix.tf_version_id == 'tf' && github.repository == 'tensorflow/tensorboard' && github.ref == 'refs/heads/master' - uses: actions/upload-artifact@ 83fd05a356d7e2593de66fc9913b3002723633cb # v3.1.1 + uses: actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb # v3.1.1 with: name: tb-nightly path: /tmp/tb_nightly_pip_package/* @@ -201,7 +201,7 @@ jobs: --out-dir /tmp/pip_package \ ; - name: 'Upload' - uses: actions/upload-artifact@ 83fd05a356d7e2593de66fc9913b3002723633cb # v3.1.1 + uses: actions/upload-artifact@83fd05a356d7e2593de66fc9913b3002723633cb # v3.1.1 with: name: tensorboard-data-server path: /tmp/pip_package/*