From 36afcc06bcf44962e3975c6917864f413b9e2283 Mon Sep 17 00:00:00 2001 From: Co Quach Date: Mon, 4 Dec 2023 11:50:10 -0600 Subject: [PATCH] udpate ci.yml to use latest docker actions --- .github/workflows/CI.yaml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index 53a8d4175..698c4bb5b 100644 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -20,9 +20,6 @@ jobs: matrix: os: [macOS-latest, ubuntu-latest, windows-latest] python-version: ["3.9", "3.10", "3.11"] - exclude: - - os: windows-latest - python-version: 3.8 defaults: run: @@ -36,14 +33,16 @@ jobs: uses: mamba-org/setup-micromamba@v1 with: environment-file: environment-dev.yml - python-version: ${{ matrix.python-version }} + create-args: >- + python=${{ matrix.python-version }} if: runner.os != 'Windows' - name: Install Mamba (Windows) uses: mamba-org/setup-micromamba@v1 with: environment-file: environment-dev-win.yml - python-version: ${{ matrix.python-version }} + create-args: >- + python=${{ matrix.python-version }} if: runner.os == 'Windows' - name: Install Package @@ -81,7 +80,7 @@ jobs: uses: mamba-org/setup-micromamba@v1 with: environment-file: environment-dev.yml - python-version: "3.10" + create-args: python=3.11 - name: Clone Foyer and GMSO run: | @@ -111,10 +110,10 @@ jobs: steps: - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_PASSWORD }} @@ -134,7 +133,7 @@ jobs: echo Docker Image tags: ${DOCKER_TAGS} - name: Build and Push - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v5 with: push: true tags: ${{ env.DOCKER_TAGS }}