NixOS-based container for running GitHub actions
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

update attic-cache

+6 -10
+6 -10
.forgejo/workflows/build.yaml
··· 12 12 uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 13 13 14 14 - name: Set up cache 15 - run: | 16 - attic login ${{ vars.ATTIC_SERVER }} ${{ vars.ATTIC_ENDPOINT }} ${{ secrets.ATTIC_TOKEN }} 17 - attic use ${{ vars.ATTIC_CACHE }} 18 - nix path-info --all | LANG=C sort > before 15 + uses: https://git.ocjtech.us/jeff/attic-cache@6fc49fd7a40bb6c54cb5967727d869ac79cdeb3f # v0.0.12 16 + with: 17 + server: ${{ vars.ATTIC_SERVER }} 18 + endpoint: ${{ vars.ATTIC_ENDPOINT }} 19 + token: ${{ secrets.ATTIC_TOKEN }} 20 + cache: ${{ vars.ATTIC_CACHE }} 19 21 20 22 - name: Reuse Lint 21 23 run: reuse lint ··· 38 40 REPOSITORY: ${{ vars.DOCKER_USERNAME }}/nixos-runner 39 41 USERNAME: ${{ vars.DOCKER_USERNAME }} 40 42 PASSWORD: ${{ secrets.DOCKER_PASSWORD }} 41 - 42 - - name: Push results to cache 43 - run: | 44 - nix path-info --all | LANG=C sort > after 45 - comm -13 before after > new 46 - cat new | attic push ${{ vars.ATTIC_CACHE }} --stdin