From ca28edfa118fe2194652c6062b63d53021bccfde Mon Sep 17 00:00:00 2001 From: keisen Date: Mon, 25 Mar 2024 17:29:17 +0900 Subject: [PATCH] Update Github Actions --- .github/workflows/python-package-cron.yml | 6 +++--- .../workflows/python-package-up-to-TF2.11.yml | 4 ++-- .../workflows/python-package-up-to-TF2.5.yml | 4 ++-- .github/workflows/python-package.yml | 13 ++++++++++--- .github/workflows/python-publish-conda.yml | 19 ------------------- .github/workflows/python-publish.yml | 6 +++--- .github/workflows/sphinx-publish.yml | 6 +++--- 7 files changed, 23 insertions(+), 35 deletions(-) delete mode 100644 .github/workflows/python-publish-conda.yml diff --git a/.github/workflows/python-package-cron.yml b/.github/workflows/python-package-cron.yml index 76fd174..fcbe637 100644 --- a/.github/workflows/python-package-cron.yml +++ b/.github/workflows/python-package-cron.yml @@ -19,12 +19,12 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.9, '3.10', '3.11'] + python-version: [3.9, '3.10', '3.11', '3.12'] tensorflow: [current, pre] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Upgrade pip diff --git a/.github/workflows/python-package-up-to-TF2.11.yml b/.github/workflows/python-package-up-to-TF2.11.yml index 6611be4..d6000cd 100644 --- a/.github/workflows/python-package-up-to-TF2.11.yml +++ b/.github/workflows/python-package-up-to-TF2.11.yml @@ -25,9 +25,9 @@ jobs: - python-version: '3.10' tensorflow: 2.7.0 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Upgrade pip and Install dependencies diff --git a/.github/workflows/python-package-up-to-TF2.5.yml b/.github/workflows/python-package-up-to-TF2.5.yml index 73ca034..af750e8 100644 --- a/.github/workflows/python-package-up-to-TF2.5.yml +++ b/.github/workflows/python-package-up-to-TF2.5.yml @@ -28,9 +28,9 @@ jobs: - python-version: 3.9 tensorflow: 2.5.0 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Upgrade pip diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 930d371..e161beb 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -18,14 +18,21 @@ jobs: fail-fast: false matrix: python-version: [3.8, 3.9, '3.10', '3.11'] - tensorflow: ['2.12.0', '2.13.0', '2.14.0'] + tensorflow: ['2.12.0', '2.13.0', '2.14.0', '2.15.0', '2.16.0'] exclude: - python-version: 3.8 tensorflow: '2.14.0' + - python-version: 3.8 + tensorflow: '2.15.0' + - python-version: 3.8 + tensorflow: '2.16.0' + include: + - python-version: '3.12' + tensorflow: '2.16.0' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Upgrade pip and Install dependencies diff --git a/.github/workflows/python-publish-conda.yml b/.github/workflows/python-publish-conda.yml deleted file mode 100644 index 4a687ae..0000000 --- a/.github/workflows/python-publish-conda.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: Upload Conda Package - -on: - release: - types: [published] - -jobs: - deploy: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - name: publish-to-conda - uses: fcakyon/conda-publish-action@v1.3 - with: - subdir: '.conda' - anacondatoken: ${{ secrets.ANACONDA_TOKEN }} - platforms: 'osx linux win' diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 086e080..97bcfa5 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -13,11 +13,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: 3.9 - name: Install dependencies run: | python -m pip install --no-cache-dir --upgrade pip diff --git a/.github/workflows/sphinx-publish.yml b/.github/workflows/sphinx-publish.yml index 40f7120..f61d964 100644 --- a/.github/workflows/sphinx-publish.yml +++ b/.github/workflows/sphinx-publish.yml @@ -15,11 +15,11 @@ jobs: build-and-publish: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: - python-version: 3.8 + python-version: 3.9 - name: Install pandoc run: | sudo apt update