docs: Use full Gitea URL in usage examples
Short-form action references default to GitHub. Full URL required for Gitea-to-Gitea action references.
This commit is contained in:
@@ -22,14 +22,16 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: johno/gitea-actions/nix-setup@main
|
- uses: https://git.johnogle.info/johno/gitea-actions/nix-setup@main
|
||||||
- run: nix flake check
|
- run: nix flake check
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> **Note:** Full URL required for Gitea Actions to reference actions from the same instance (short-form defaults to GitHub).
|
||||||
|
|
||||||
**With custom cache prefix:**
|
**With custom cache prefix:**
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: johno/gitea-actions/nix-setup@main
|
- uses: https://git.johnogle.info/johno/gitea-actions/nix-setup@main
|
||||||
with:
|
with:
|
||||||
cache-name: 'my-project-'
|
cache-name: 'my-project-'
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user