mirror of
https://github.com/hashicorp/setup-artifactory-repo-tool
synced 2026-04-05 19:07:28 +00:00
No description
- Shell 100%
|
|
||
|---|---|---|
| .github | ||
| META.d | ||
| scripts | ||
| .gitignore | ||
| action.yml | ||
| CODEOWNERS | ||
| LICENSE | ||
| README.md | ||
setup-artifactory-repo-tool
GitHub Action to install artifactory-repo-tool.
Usage
jobs:
Setup artifactory-repo-tool:
runs-on: ubuntu-latest
steps:
# ... potentially other steps ...
- uses: hashicorp/artifactory-repo-tool@v1
with:
github-token: ${{ secrets.ART_GITHUB_TOKEN }}
Inputs
| Input | Description | Default |
|---|---|---|
github-token |
GitHub token with release asset access to artifactory-repo-tool. |
|
version |
Version of artifactory-repo-tool to install. |
Latest release |
Outputs
| Output | Description |
|---|---|
version |
Version of artifactory-repo-tool installed. |
Development
Test locally with act. You'll need a GitHub token authorized to download release assets from the artifactory-repo-tool repository.
act --container-architecture=linux/amd64 --input github-token=$(gh auth token) workflow_dispatch
Creating a Release
After your PR is merged to the default branch, main:
- Update locally:
git checkout main && git pull - Create a new tag for the release, e.g.
v1.0.0withgit tag v1.0.0 && git push origin v1.0.0. - Update the major version tag locally, e.g.
git tag -d v1 && git tag v1 - Update the tag upstream, e.g.
git push origin :refs/tags/v1 && git push origin v1