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 1 commit
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
11 changes: 9 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 to release to Jenkins Artifactory repository
jetersen marked this conversation as resolved.
Show resolved Hide resolved
MAVEN_TOKEN:
required: true
description: Maven Token used to release to Jenkins Artifactory repository
jetersen marked this conversation as resolved.
Show resolved Hide resolved
INTERESTING_CATEGORIES:
required: true
description: |
Expand All @@ -16,6 +19,10 @@ 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 }}
INTERESTING_CATEGORIES: ${{ inputs.INTERESTING_CATEGORIES }}