Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/astertom/nexus-upload-artifact

Upload raw and apt artifacts to nexus3 repository manager repositories
https://github.com/astertom/nexus-upload-artifact

actions github

Last synced: about 1 month ago
JSON representation

Upload raw and apt artifacts to nexus3 repository manager repositories

Awesome Lists containing this project

README

        

# Nexus3 upload artifact V1

This action uploads files using post to [Sonatype Nexus3 repository manager](https://www.sonatype.com/products/sonatype-nexus-repository) RAW and APT repositories

# Usage

```yaml
- uses: astertom/nexus-upload-artifact@v1
env:
NEXUS_HOST_URL:
NEXUS_USER:
NEXUS_TOKEN:
with:
pattern:
repositories:
directory: Optional
timeout: Optional
```

# Example RAW repositories

```yaml
- uses: astertom/nexus-upload-artifact@v1
env:
NEXUS_HOST_URL: http://localhost:8081
NEXUS_USER: ${{ secrects.NEXUS_USER }}
NEXUS_TOKEN: ${{ secrets.NEXUS_PASSWORD }}
with:
pattern: "*.log"
repositories: "rawrepo1, rawrepo2"
```

# Example APT repository

```yaml
- uses: astertom/nexus-upload-artifact@v1
env:
NEXUS_HOST_URL: http://localhost:8081
NEXUS_USER: ${{ secrects.NEXUS_USER }}
NEXUS_TOKEN: ${{ secrets.NEXUS_PASSWORD }}
with:
pattern: "*.deb"
repositories: aptrepo1
```