Skip to content

hashicorp/setup-artifactory-repo-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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:

  1. Update locally: git checkout main && git pull
  2. Create a new tag for the release, e.g. v1.0.0 with git tag v1.0.0 && git push origin v1.0.0.
  3. Update the major version tag locally, e.g. git tag -d v1 && git tag v1
  4. Update the tag upstream, e.g. git push origin :refs/tags/v1 && git push origin v1

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages