Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9009a3acda | |||
| 982be23f1d | |||
| 4c71c49edc |
3 changed files with 7 additions and 2 deletions
3
.dockerignore
Normal file
3
.dockerignore
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
.forgejo/
|
||||||
|
action.yml
|
||||||
|
main.sh
|
||||||
|
|
@ -9,7 +9,7 @@ runs:
|
||||||
using: composite
|
using: composite
|
||||||
steps:
|
steps:
|
||||||
- name: Load the database from cache
|
- name: Load the database from cache
|
||||||
uses: https://git.dzuchun.ing/actions/cache-load@main
|
uses: https://git.dzuchun.ing/actions/cache-load@v1
|
||||||
with:
|
with:
|
||||||
path: ${{ forgejo.action_path }}/database
|
path: ${{ forgejo.action_path }}/database
|
||||||
key: cargo-audit-database
|
key: cargo-audit-database
|
||||||
|
|
@ -18,7 +18,7 @@ runs:
|
||||||
env:
|
env:
|
||||||
DATABASE_PATH: ${{ forgejo.action_path }}/database
|
DATABASE_PATH: ${{ forgejo.action_path }}/database
|
||||||
- name: Save the database to cache
|
- name: Save the database to cache
|
||||||
uses: https://git.dzuchun.ing/actions/cache-save@main
|
uses: https://git.dzuchun.ing/actions/cache-save@v1
|
||||||
with:
|
with:
|
||||||
path: ${{ forgejo.action_path }}/database
|
path: ${{ forgejo.action_path }}/database
|
||||||
key: cargo-audit-database
|
key: cargo-audit-database
|
||||||
|
|
|
||||||
2
main.sh
2
main.sh
|
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -eu
|
||||||
|
|
||||||
LOCK=$(printenv INPUT_LOCK-PATH)
|
LOCK=$(printenv INPUT_LOCK-PATH)
|
||||||
|
|
||||||
ARGS=''
|
ARGS=''
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue