ci: see if new get ldfs script works
This commit is contained in:
parent
629db239e8
commit
233fc3008e
1 changed files with 8 additions and 11 deletions
|
@ -15,13 +15,10 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
# get the repo first
|
# get the repo first
|
||||||
- uses: https://code.forgejo.org/actions/checkout@v4
|
- uses: https://code.forgejo.org/actions/checkout@v4
|
||||||
- name: Checkout lfs
|
- uses: https://forgejo.skynet.ie/Skynet/actions/get_lfs@v7
|
||||||
run: |
|
with:
|
||||||
git lfs install --local
|
server_url: ${{ gitea.server_url }}
|
||||||
AUTH=$(git config --local http.${{ github.server_url }}/.extraheader)
|
repository: ${{ gitea.repository }}
|
||||||
git config --local --unset http.${{ github.server_url }}/.extraheader
|
|
||||||
git config --local http.${{ github.server_url }}/${{ github.repository }}.git/info/lfs/objects/batch.extraheader "$AUTH"
|
|
||||||
git lfs pull
|
|
||||||
- run: nix build .#fmt --verbose
|
- run: nix build .#fmt --verbose
|
||||||
|
|
||||||
# clippy is incredibly useful for making yer code better
|
# clippy is incredibly useful for making yer code better
|
||||||
|
@ -33,10 +30,10 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
# get the repo first
|
# get the repo first
|
||||||
- uses: https://code.forgejo.org/actions/checkout@v4
|
- uses: https://code.forgejo.org/actions/checkout@v4
|
||||||
- uses: https://forgejo.skynet.ie/Skynet/actions/get_lfs@v3
|
- uses: https://forgejo.skynet.ie/Skynet/actions/get_lfs@v7
|
||||||
with:
|
with:
|
||||||
|
server_url: ${{ gitea.server_url }}
|
||||||
repository: ${{ gitea.repository }}
|
repository: ${{ gitea.repository }}
|
||||||
ref_name: ${{ gitea.ref }}
|
|
||||||
- run: nix build .#clippy --verbose
|
- run: nix build .#clippy --verbose
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
@ -46,9 +43,9 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
# get the repo first
|
# get the repo first
|
||||||
- uses: https://code.forgejo.org/actions/checkout@v4
|
- uses: https://code.forgejo.org/actions/checkout@v4
|
||||||
- uses: https://forgejo.skynet.ie/Skynet/actions/get_lfs@v3
|
- uses: https://forgejo.skynet.ie/Skynet/actions/get_lfs@v7
|
||||||
with:
|
with:
|
||||||
|
server_url: ${{ gitea.server_url }}
|
||||||
repository: ${{ gitea.repository }}
|
repository: ${{ gitea.repository }}
|
||||||
ref_name: ${{ gitea.ref }}
|
|
||||||
- name: "Build it locally"
|
- name: "Build it locally"
|
||||||
run: nix build --verbose
|
run: nix build --verbose
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue