Skip to content

First actions & workflows #1

First actions & workflows

First actions & workflows #1

on:

Check failure on line 1 in .github/workflows/create-nexus-staging-repository.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/create-nexus-staging-repository.yml

Invalid workflow file

`outputs` is not a valid event name
workflow_call:
secrets:
SONATYPE_USERNAME:
required: true
SONATYPE_PASSWORD:
required: true
SONATYPE_PROFILE_ID:
required: true
outputs:
repository-id: ${{ jobs.create-staging-repository.outputs.repository-id }}
jobs:
create-staging-repository:
name: Create Nexus staging repository
runs-on: ubuntu-latest
outputs:
repository-id: ${{ steps.create.outputs.repository_id }}
steps:
- id: create
uses: nexus-actions/create-nexus-staging-repo@v1
with:
base_url: https://s01.oss.sonatype.org/service/local/
username: ${{ secrets.SONATYPE_USERNAME }}
password: ${{ secrets.SONATYPE_PASSWORD }}
staging_profile_id: ${{ secrets.SONATYPE_PROFILE_ID }}
description: ${{ github.repository }}/${{ github.workflow }}#${{ github.run_number }}