Skip to content

Commit

Permalink
Merge pull request #20 from ModeSevenIndustrialSolutions/update-caps
Browse files Browse the repository at this point in the history
Chore: Revert to CAPS in action.yaml, update triggers
  • Loading branch information
ModeSevenIndustrialSolutions authored Jun 10, 2024
2 parents 5dbf5cd + dc8522f commit af36529
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 17 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ on:
tags:
- "v*.*.*"
pull_request:
types:
- closed
types: [opened, reopened, edited, synchronize]

jobs:
upload-files:
Expand Down
26 changes: 11 additions & 15 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,28 @@ name: "Nexus Upload"
description: "Nexus Upload Action"

inputs:
nexus_username:
NEXUS_USERNAME:
description: "Nexus username"
required: true
nexus_password:
NEXUS_PASSWORD:
description: "Nexus password"
required: true
nexus_server:
NEXUS_SERVER:
description: "Nexus server"
required: true
nexus_repository:
NEXUS_REPOSITORY:
description: "Nexus repository"
required: true
upload_directory:
UPLOAD_DIRECTORY:
description: "Directory containing files to upload"
required: true
filename_suffix:
FILENAME_SUFFIX:
description: "File extension to match"
required: false
default: 'false'
options:
- true
- false
testing:
TESTING:
description: "Boolean"
required: false
default: 'false'
default: "false"
options:
- true
- false
Expand All @@ -43,13 +39,13 @@ inputs:
# required: false

outputs:
errors:
ERRORS:
description: "Occurence of errors [true|false]"
value: ${{ steps.nexus-upload.outputs.errors }}
successes:
SUCCESSES:
description: "Number of successful uploads"
value: ${{ steps.nexus-upload.outputs.successes }}
failures:
FAILURES:
description: "Number of failed uploads"
value: ${{ steps.nexus-upload.outputs.failures }}

Expand Down

0 comments on commit af36529

Please sign in to comment.