Skip to content
This repository was archived by the owner on Sep 26, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 0 additions & 21 deletions .github/workflows/branch.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git diff-index --quiet HEAD || (git commit -a -m'ci: update dist files [bot] [skip ci]' --allow-empty && git push -f)
git diff-index --quiet HEAD || (git commit -a -m'ci: update dist files [bot] [skip-ci]' --allow-empty && git push -f)
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ The action will export the following variables. These can then be used in conjun
| Name | Description |
|----------------------|-------------------------------------------|
| MAVEN_USERNAME | The authentication username. Set as `aws` |
| MAVEN_TOKEN | The authentication token |
| MAVEN_PASSWORD | The authentication token |

#### Nuget

Expand Down
138 changes: 69 additions & 69 deletions dist/main/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/main/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/libs/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ module.exports.exportVariables = (token) => {
core.exportVariable('TWINE_USERNAME', 'aws')
core.exportVariable('TWINE_PASSWORD', token)
core.exportVariable('MAVEN_USERNAME', 'aws')
core.exportVariable('MAVEN_TOKEN', token)
core.exportVariable('MAVEN_PASSWORD', token)
core.exportVariable('NUGET_AUTH_TOKEN', token)
}
2 changes: 1 addition & 1 deletion tests/src/libs/actions.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ describe('actions', () => {
expect(actionsCore.exportVariable).toHaveBeenNthCalledWith(2, 'TWINE_USERNAME', 'aws')
expect(actionsCore.exportVariable).toHaveBeenNthCalledWith(3, 'TWINE_PASSWORD', token)
expect(actionsCore.exportVariable).toHaveBeenNthCalledWith(4, 'MAVEN_USERNAME', 'aws')
expect(actionsCore.exportVariable).toHaveBeenNthCalledWith(5, 'MAVEN_TOKEN', token)
expect(actionsCore.exportVariable).toHaveBeenNthCalledWith(5, 'MAVEN_PASSWORD', token)
expect(actionsCore.exportVariable).toHaveBeenNthCalledWith(6, 'NUGET_AUTH_TOKEN', token)
})
})
2 changes: 1 addition & 1 deletion tests/src/main.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ describe('test runs', () => {
expect(actionsCore.exportVariable).toHaveBeenNthCalledWith(2, 'TWINE_USERNAME', 'aws')
expect(actionsCore.exportVariable).toHaveBeenNthCalledWith(3, 'TWINE_PASSWORD', token)
expect(actionsCore.exportVariable).toHaveBeenNthCalledWith(4, 'MAVEN_USERNAME', 'aws')
expect(actionsCore.exportVariable).toHaveBeenNthCalledWith(5, 'MAVEN_TOKEN', token)
expect(actionsCore.exportVariable).toHaveBeenNthCalledWith(5, 'MAVEN_PASSWORD', token)
expect(actionsCore.exportVariable).toHaveBeenNthCalledWith(6, 'NUGET_AUTH_TOKEN', token)
})

Expand Down