ci: dont checkout + free up space
This commit is contained in:
parent
3e74eca773
commit
5fa4e99018
10
.github/workflows/sync.yml
vendored
10
.github/workflows/sync.yml
vendored
|
@ -7,17 +7,21 @@ permissions:
|
|||
contents: write
|
||||
|
||||
jobs:
|
||||
check:
|
||||
sync:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: free up space
|
||||
uses: AdityaGarg8/remove-unwanted-software@v4.1
|
||||
- name: query remaining space
|
||||
run: df -h
|
||||
|
||||
- uses: cachix/install-nix-action@v27
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||
|
||||
- name: get the forge's repo
|
||||
- name: clone forge.joshwel.co/mark/sota
|
||||
run: |
|
||||
mkdir -p ${{ runner.temp }}/sota
|
||||
git clone https://forge.joshwel.co/mark/sota ${{ runner.temp }}/sota
|
||||
|
|
Reference in a new issue