14 Commits

Author SHA1 Message Date
github-actions[bot]
6f0cb262d0 Automatic compilation 2023-09-14 16:11:01 +00:00
Daniel Kempkens
8c01d0bda1 feat: automatically configure Nix to use cache (#8) 2023-09-14 16:09:33 +00:00
dependabot[bot]
88dbb4b600 chore(deps): bump actions/checkout from 3 to 4 (#6)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-10 04:24:06 +00:00
dependabot[bot]
fd02e7c96c chore(deps): bump cachix/install-nix-action from 22 to 23 (#7) 2023-09-05 11:04:12 +08:00
gallexme
56ba67dfc0 fix: save store paths to file (#5)
closes #4
2023-08-06 02:32:52 +00:00
Ryan Cao
e78c87fc0e fix: split up added paths to avoid argument limit 2023-08-04 20:40:01 +08:00
Ryan Cao
7af24dd783 chore: update flake lock 2023-07-21 21:42:33 +08:00
Ryan Cao
3c5e4de9b2 docs: improve README 2023-07-21 16:11:50 +08:00
Ryan Cao
a2f0acb9d4 chore: add dependabot 2023-07-21 16:07:27 +08:00
seth
ec939ca6ac chore: don't use channels for testing (#3) 2023-07-21 03:38:26 +00:00
Ryan Cao
3b6f7992de ci: manually add nixpkgs 2023-07-20 17:50:37 +08:00
Ryan Cao
2533b28a8f add README 2023-07-20 09:09:48 +08:00
Ryan Cao
00f4a8b31e improve action.yml 2023-07-20 09:08:36 +08:00
Ryan Cao
ce803b732a fix: use node import behavior 2023-07-19 12:24:57 +08:00
2 changed files with 15 additions and 9 deletions

View File

@@ -1,22 +1,29 @@
name: "attic"
name: "attic-action"
author: "Ryan Cao"
description: "Cache Nix derivations with attic"
branding:
icon: "layers"
color: "blue"
inputs:
endpoint:
description: "attic endpoint"
description: "Attic endpoint"
required: true
cache:
description: "attic cache"
description: "Attic cache name"
required: true
skip-push:
description: "set to true to disable pushing to the cache"
description: "Disable pushing to the cache automatically"
required: false
token:
description: "attic token"
description: "Attic authorization token"
required: false
skip-use:
description: "Set to true to skip using attic cache as a substituter"
required: false
runs:
using: "node16"
main: "dist/index.js"
post: "dist/index.js"
post-if: "success()"

5
dist/index.js vendored

File diff suppressed because one or more lines are too long