Skip to content

InteropIO/setup-codeartifact

Repository files navigation

InteropIO Setup Codeartifact Action

GitHub Super-Linter CI

InteropIO/setup-codeartifact is GitHub Action that sets up AWS Codeartifact for use in a workflow.

Usage

Maven Example

steps:
  - name: Checkout
    uses: actions/checkout@v4
  - name: Run Setup Codeartifact
    uses: InteropIO/[email protected]
    with:
      domain: '<domain>'
      domain-owner: '<domain-owner>'
      region: '<region>'
      maven-settings:
        '["repositories":["maven-release", "maven-snapshot"],
        "pluginRepositories":["maven-release"], "servers": ["codeartifact"]]'
  - name: Run Setup Java
    uses: actions/setup-java@v4
    with:
      distribution: 'temurin'
      java-version: '17'
      overwrite-settings: false
  - name: Run Maven
    run:
      ./mvnw -B clean deploy
      -DaltSnapshotDeploymentRepository=codeartifact::https://<domain>-<domain-owner>.d.codeartifact.<region>.amazonaws.com/maven/maven-snapshot-local
      -DaltReleaseDeploymentRepository=codeartifact::https://<domain>-<domain-owner>.d.codeartifact.<region>.amazonaws.com/maven/maven-release-local

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published