Skip to content

Commit c3014cb

Browse files
committed
micromamba update
1 parent 20a22c3 commit c3014cb

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ on:
33
push:
44
branches:
55
- master
6+
concurrency:
7+
group: ${{ github.workflow }}
68
jobs:
79
deploy-cdk-stack:
810
runs-on: ubuntu-latest
9-
# Allows JWT to be requested from GitHub's OIDC provider.
1011
permissions:
1112
contents: read
13+
# Allows JWT to be requested from GitHub's OIDC provider.
1214
id-token: write
1315
steps:
1416
- uses: actions/checkout@v4
@@ -25,12 +27,14 @@ jobs:
2527
- if: steps.cache.outputs.cache-hit != 'true'
2628
run: |
2729
# Install micromamba.
28-
curl -Ls https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xvj bin/micromamba
30+
wget -qO- https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xvj bin/micromamba
31+
2932
3033
# Install Poetry.
3134
pipx install poetry~=1.8
3235
3336
# Create Mamba environment.
37+
export MAMBA_ROOT_PREFIX=~/micromamba
3438
eval "$(./bin/micromamba shell hook -s posix)"
3539
micromamba create --file environment.yml --yes
3640
micromamba activate brodie.id.au
@@ -42,6 +46,7 @@ jobs:
4246
role-to-assume: arn:aws:iam::961672313229:role/Account-GithubOidcRole20798CD3-LZP3AHTIPJU2
4347
aws-region: ap-southeast-2
4448
- run: |
49+
export MAMBA_ROOT_PREFIX=~/micromamba
4550
eval "$(./bin/micromamba shell hook -s posix)"
4651
micromamba activate brodie.id.au
4752

0 commit comments

Comments
 (0)