16 lines
391 B
YAML
16 lines
391 B
YAML
|
runs:
|
||
|
using: "composite"
|
||
|
steps:
|
||
|
- run: |
|
||
|
su forgejo -c 'make deps-backend'
|
||
|
- uses: actions/cache@v4
|
||
|
id: cache-backend
|
||
|
with:
|
||
|
path: '/workspace/forgejo/forgejo/gitea'
|
||
|
key: backend-build-${{ github.sha }}
|
||
|
- if: steps.cache-backend.outputs.cache-hit != 'true'
|
||
|
run: |
|
||
|
su forgejo -c 'make backend'
|
||
|
env:
|
||
|
TAGS: bindata
|