From 2f48fade81c9eb678c7dfae5a2c4f5ecbadd4483 Mon Sep 17 00:00:00 2001 From: Ludovico Bianchi Date: Fri, 21 Jun 2024 15:33:15 -0500 Subject: [PATCH] Update GHA Actions versions (#50) * Use Action from main * Update Action versions --- .github/actions/install/action.yml | 5 +++-- .github/workflows/core.yml | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/actions/install/action.yml b/.github/actions/install/action.yml index a0ae0597..84345d01 100644 --- a/.github/actions/install/action.yml +++ b/.github/actions/install/action.yml @@ -27,14 +27,15 @@ runs: steps: - name: Set up Conda environment - uses: conda-incubator/setup-miniconda@v2.3.0 + uses: conda-incubator/setup-miniconda@v3 with: + miniforge-version: latest activate-environment: ${{ inputs.conda-environment }} python-version: ${{ inputs.python-version }} - name: Check out repository if: inputs.variant == 'dev' - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install using pip (requirements-dev.txt) if: inputs.variant == 'dev' shell: bash -l {0} diff --git a/.github/workflows/core.yml b/.github/workflows/core.yml index 4e4b550b..9cbcef2e 100644 --- a/.github/workflows/core.yml +++ b/.github/workflows/core.yml @@ -66,7 +66,7 @@ jobs: - os: win64 runner-image: windows-2022 steps: - - uses: IDAES/idaes-ui/.github/actions/install@refs/pull/49/merge + - uses: IDAES/idaes-ui/.github/actions/install@main with: variant: ${{ matrix.install-variant }} python-version: ${{ matrix.python-version }} @@ -99,7 +99,7 @@ jobs: steps: #python starts here - name: Install python code - uses: IDAES/idaes-ui/.github/actions/install@refs/pull/49/merge + uses: IDAES/idaes-ui/.github/actions/install@main with: variant: ${{ matrix.install-variant }} python-version: ${{ matrix.python-version }}