Skip to content

Commit

Permalink
Pull LFS files in deploy workflow
Browse files Browse the repository at this point in the history
This is a fix for #209

The gist is that we host the sample CSV, e.g. at https://pacta.dev.rmi.siliconally.dev/samples/sample-1.csv

Currently, on dev, that file contains:

```
version https://git-lfs.github.com/spec/v1
oid sha256:abdb709396bff1337709b6eb7bc26cde547615d88a619f5c9846fde1fb585335
size 131685
```

Which is just the LFS pointer to the actual file. This PR enables downloading LFS files when the GH Actions run checks out the repo

It also updates the version for other actions we use in the workflow
  • Loading branch information
bcspragu committed Aug 16, 2024
1 parent eac5013 commit 9f10ca4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,17 @@ jobs:
id-token: 'write'
steps:
- name: Cache Bazel
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cache/bazel
key: ${{ runner.os }}-bazel-${{ hashFiles('.bazelversion', '.bazelrc', 'WORKSPACE') }}
restore-keys: |
${{ runner.os }}-bazel-
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
lfs: true

- name: Azure CLI login
uses: azure/login@v1
Expand All @@ -33,7 +35,7 @@ jobs:
- name: Login to ACR via OIDC
run: az acr login --name rmisa

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
Expand Down

0 comments on commit 9f10ca4

Please sign in to comment.