Skip to content

Commit ebc78ce

Browse files
committed
fix: handle logic for various darwin platforms
1 parent 26ba18b commit ebc78ce

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/nix-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,23 +49,23 @@ jobs:
4949
env:
5050
NIX_SIGN_SECRET_KEY: ${{ secrets.NIX_SIGN_SECRET_KEY }}
5151
- name: Log in to Docker Hub
52-
if: matrix.runner != 'macos-latest'
52+
if: matrix.runner != 'macos-latest' || matrix.runner != 'macos-13'
5353
uses: docker/login-action@v2
5454
with:
5555
username: ${{ secrets.DOCKER_USERNAME }}
5656
password: ${{ secrets.DOCKER_PASSWORD }}
5757
- name: Build psql bundle with nix
58-
if: matrix.runner != 'macos-latest'
58+
if: matrix.runner != 'macos-latest' || matrix.runner != 'macos-13'
5959
run: docker build -t base_nix -f docker/nix/Dockerfile .
6060
- name: Run build psql bundle
61-
if: matrix.runner != 'macos-latest'
61+
if: matrix.runner != 'macos-latest' || matrix.runner != 'macos-13'
6262
run: |
6363
docker run -e AWS_ACCESS_KEY_ID=${{ env.AWS_ACCESS_KEY_ID }} \
6464
-e AWS_SECRET_ACCESS_KEY=${{ env.AWS_SECRET_ACCESS_KEY }} \
6565
-e AWS_SESSION_TOKEN=${{ env.AWS_SESSION_TOKEN }} \
6666
base_nix bash -c "./workspace/docker/nix/build_nix.sh"
6767
- name: Build psql bundle on macos
68-
if: matrix.runner == 'macos-latest'
68+
if: matrix.runner == 'macos-latest' || matrix.runner == 'macos-13'
6969
run: |
7070
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install --no-confirm \
7171
--extra-conf "substituters = https://cache.nixos.org https://nix-postgres-artifacts.s3.amazonaws.com" \

0 commit comments

Comments
 (0)