Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): bump github action versions #3350

Merged
merged 5 commits into from
Jul 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/actions/workspace/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ runs:
steps:
- name: Create workspace
if: ${{ inputs.action == 'save' }}
uses: actions/cache/save@v3
uses: actions/cache/save@v4
with:
path: ${{ inputs.path }}
key: ${{ inputs.key_prefix }}-${{ inputs.key_base }}-${{ inputs.key_suffix }}
- name: Restore workspace
if: ${{ inputs.action == 'restore' }}
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: ${{ inputs.path }}
key: ${{ inputs.key_prefix }}-${{ inputs.key_base }}-${{ inputs.key_suffix }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/label_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Check labels
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
env:
PRE_COMMIT_USE_MICROMAMBA: 1
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install pre-commit
uses: mamba-org/setup-micromamba@v1
with:
Expand Down
29 changes: 14 additions & 15 deletions .github/workflows/static_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,19 @@ jobs:
fail-fast: false
matrix:
include:
- { os: ubuntu-latest, platform: linux, arch: "64" }
- { os: ubuntu-latest, platform: linux, arch: aarch64 }
- { os: ubuntu-latest, platform: linux, arch: ppc64le }
- { os: macos-latest, platform: osx, arch: "64" }
- { os: macos-latest, platform: osx, arch: arm64 }
- {os: ubuntu-latest, platform: linux, arch: "64"}
- {os: ubuntu-latest, platform: linux, arch: aarch64}
- {os: ubuntu-latest, platform: linux, arch: ppc64le}
- {os: macos-latest, platform: osx, arch: "64"}
- {os: macos-latest, platform: osx, arch: arm64}
steps:
- name: Checkout micromamba-feedstock
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: conda-forge/micromamba-feedstock
path: micromamba-feedstock
- name: Checkout mamba branch
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: mamba
- name: Clear mamba git directory and link source
Expand All @@ -54,7 +54,7 @@ jobs:
with:
environment-name: mambabuild
create-args: python boa
post-cleanup: none # FIXME the cleanup fails on OSX
post-cleanup: none # FIXME the cleanup fails on OSX
- name: Build conda package (Unix native)
if: ${{ !(matrix.platform == 'linux' && matrix.arch != '64') }}
shell: bash -l {0}
Expand Down Expand Up @@ -98,25 +98,24 @@ jobs:
if: failure()
run: tar -czf ${{ github.workspace }}/micromamba-conda-build-failed-${{ matrix.platform }}-${{ matrix.arch }}.tar.gz $MAMBA_ROOT_PREFIX/envs/mambabuild/conda-bld/micromamba_*
- name: Upload conda build artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: micromamba-conda-build-failed-${{ matrix.platform }}-${{ matrix.arch }}
path: ${{ github.workspace }}/micromamba-conda-build-failed-${{ matrix.platform }}-${{ matrix.arch }}.tar.gz
retention-days: 7
- name: Upload micromamba
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: micromamba-${{ matrix.platform }}-${{ matrix.arch }}
path: ${{ github.workspace }}/artifacts/micromamba

micromamba-static-win:
Hind-M marked this conversation as resolved.
Show resolved Hide resolved
name: "win-64"
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Cache vcpkg packages
uses: actions/cache@v3
uses: actions/cache@v4
with:
# The installed packages are in %VCPKG_INSTALLATION_ROOT%\installed\x64-windows-static
# and the info which packages are installed is in %VCPKG_INSTALLATION_ROOT%\installed\vcpkg
Expand Down Expand Up @@ -180,13 +179,13 @@ jobs:
if: failure()
run: tar -czf ${{ github.workspace }}/micromamba-build-failed-win-64.tar.gz ${{ github.workspace }}/build/
- name: Upload build artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: micromamba-build-failed-win-64
path: ${{ github.workspace }}/micromamba-build-failed-win-64.tar.gz
retention-days: 7
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: micromamba-win-64
path: ${{ github.workspace }}/build/micromamba/micromamba.exe
Loading