Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move variables to env block #22

Merged
merged 3 commits into from Jun 13, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 10 additions & 2 deletions action.yaml
Expand Up @@ -3,10 +3,13 @@ description: Deploys a Maven project to the Jenkins Artifactory repository in co
inputs:
GITHUB_TOKEN:
required: true
description: Token to run with, defaults to the repository GITHUB_TOKEN
MAVEN_USERNAME:
required: true
description: Maven username used for deploying the plugin jar to Jenkins Artifactory Repository
MAVEN_TOKEN:
required: true
description: Maven token used for deploying the plugin jar to Jenkins Artifactory Repository
INTERESTING_CATEGORIES:
required: true
description: |
Expand All @@ -16,6 +19,11 @@ inputs:
default: '[💥🚨🎉🐛⚠🚀🌐👷]|:(boom|tada|construction_worker):'
runs:
using: composite
steps:
- run: GITHUB_TOKEN=${{ inputs.GITHUB_TOKEN }} MAVEN_USERNAME=${{ inputs.MAVEN_USERNAME }} MAVEN_TOKEN=${{ inputs.MAVEN_TOKEN }} INTERESTING_CATEGORIES='${{ inputs.INTERESTING_CATEGORIES }}' $GITHUB_ACTION_PATH/run.sh
steps:
- run: $GITHUB_ACTION_PATH/run.sh
shell: bash
env:
GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }}
MAVEN_USERNAME: ${{ inputs.MAVEN_USERNAME }}
MAVEN_TOKEN: ${{ inputs.MAVEN_TOKEN }}
INTERESTING_CATEGORIES: ${{ inputs.INTERESTING_CATEGORIES }}