{"id":22930403,"url":"https://github.com/usethesource/releases-maven-action","last_synced_at":"2026-03-20T00:01:28.809Z","repository":{"id":142339702,"uuid":"364954089","full_name":"usethesource/releases-maven-action","owner":"usethesource","description":"custom action to handle deployment of use the source releases","archived":false,"fork":false,"pushed_at":"2023-08-31T10:45:05.000Z","size":33,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-02-07T11:14:58.721Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/usethesource.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-06T15:20:23.000Z","updated_at":"2023-09-27T22:00:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"c5680216-572f-46b1-ac36-53d8c6c74f27","html_url":"https://github.com/usethesource/releases-maven-action","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usethesource%2Freleases-maven-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usethesource%2Freleases-maven-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usethesource%2Freleases-maven-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usethesource%2Freleases-maven-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/usethesource","download_url":"https://codeload.github.com/usethesource/releases-maven-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246679066,"owners_count":20816402,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-14T10:27:54.714Z","updated_at":"2026-01-08T08:41:30.116Z","avatar_url":"https://github.com/usethesource.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# UseTheSource's custom release Maven artifacts\n\nA UseTheSource specific action that takes care of deploying to the UseTheSource release server (\u003chttps://releases.usethesource.io/maven/\u003e).\n\nIt takes care of performing the `mvn deploy` itself.\n\n**Note: this won't work for SNAPSHOT releases**\n\n## Using this action\n\nAdd the following section to your github deployment:\n\n```yaml\n      - name: Deploy\n        if: startsWith(github.ref, 'refs/tags/v') # only tagged releases starting with a v will run this action\n        uses:  usethesource/releases-maven-action@v1 # this will run mvn deploy -DskipTests for you\n        with:\n          maven-username: ${{ secrets.RELEASE_MAVEN_USERNAME }} # the secretes are defined for all repo's in the usethesource organisation\n          maven-password: ${{ secrets.RELEASE_MAVEN_PASSWORD }}\n          maven-local-port: ${{ secrets.RELEASE_MAVEN_LOCAL_PORT }}\n          ssh-hostname: ${{ secrets.RELEASE_SSH_SERVER }}\n          ssh-known-host: ${{ secrets.RELEASE_SSH_KNOWN_HOSTS }}\n          ssh-username: ${{ secrets.RELEASE_SSH_USERNAME }}\n          ssh-private-key: ${{ secrets.RELEASE_SSH_PRIVATE_KEY }}\n          maven-options: \"-DoptionalFlags -DyouWantToPass\"\n          working-directory: \"./subdirectory\"\n```\n\nNote that the if condition doesn't support regex. If you want to be more restrictive, you can add the following guards at the top of your action:\n\n```yaml\non:\n  push:\n    branches:\n      - main\n    tags:\n      - 'v[0-9]+.*'\n    pull_request:\n      branches:\n      - main\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusethesource%2Freleases-maven-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fusethesource%2Freleases-maven-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusethesource%2Freleases-maven-action/lists"}