Files
upload-artifact-gitea/README.md
T

23 lines
623 B
Markdown

# upload-artifact-gitea
A Gitea-compatible vendored copy of `actions/upload-artifact@v7.0.1`.
The bundled `dist/upload/index.js` is patched so `isGhes()` returns `false`.
Gitea sets `GITHUB_SERVER_URL` to the Gitea instance URL, which upstream
`actions/upload-artifact@v7` mis-detects as GitHub Enterprise Server and rejects
before it can use Gitea's artifact runtime service.
## Usage
```yaml
- uses: mo7sen/upload-artifact-gitea@v7
with:
name: meson-log.txt
path: build/meson-logs/meson-log.txt
archive: false
```
## Upstream
Based on <https://github.com/actions/upload-artifact/releases/tag/v7.0.1>.