Skip to content

Nexus Repository Publisher GitHub Actions for Windows based runners

License

Notifications You must be signed in to change notification settings

dannevesdantas/nexus-publisher-win

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Publish artifacts to Nexus Repository GitHub Action for Windows based runners

Publish artifacts to Nexus Repository.

Usage

- name: Publish to Nexus
  uses: dannevesdantas/nexus-publisher-win@v0.1.2
  with:
    uri: 'http://nexus.mycompany.com/repository/team/my-app/my-app/3.2.0/my-app-3.2.0.zip'
    username: ${{ secrets.NEXUS_USERNAME }}
    password: ${{ secrets.NEXUS_PASSWORD }}
    filename: '${{ github.workspace }}\my-app.zip'

If a file with the same name already exists at the provided uri, it will be overwritten.

Requirements

This GitHub Action is compatible with Windows based runners only. If you are looking for a Linux based version, please visit sonatype-nexus-community/nexus-repo-github-action.

Troubleshooting

If you receive an Invoke-WebRequest : The response content cannot be parsed because the Internet Explorer engine is not available error message, make sure you've opened Internet Explorer at least once in the runner's machine, and dismissed the run-once pop-up. For more details, please visit Solving the First-Launch Configuration Error with PowerShell’s Invoke-WebRequest Cmdlet.

License

The scripts and documentation in this project are released under the MIT License

About

Nexus Repository Publisher GitHub Actions for Windows based runners

Resources

License

Stars

Watchers

Forks

Packages

No packages published