Skip to content

Add release job to staging repo with Github Actions #113

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 11, 2021

Conversation

johnttompkins
Copy link
Contributor

Issue #, if available:

Description of changes: This PR automates releases to our maven staging repo. Similar to aws-cloudformation/cloudformation-cli-java-plugin#339

This release workflow uses the official java github action to set up the necessary credentials, and the deploy stage executes the command.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@@ -0,0 +1,27 @@
# This workflow will put the project in our staging repo
name: Releasing Project to maven
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Is there some way to test this?

Copy link
Contributor Author

@johnttompkins johnttompkins Jan 11, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://github.com/aws-cloudformation/aws-cloudformation-resource-schema/runs/1683532098?check_suite_focus=true <- here's a test run. it successfully stages a release in our staging repository. I cut a release to trigger this and it successfully uploaded the maven package to our staging repo.

@johnttompkins johnttompkins merged commit ee39383 into aws-cloudformation:master Jan 11, 2021
@johnttompkins johnttompkins deleted the maven-release branch January 11, 2021 23:18
@PatMyron PatMyron changed the title Add release job to staging repo Add release job to staging repo with Github Actions Jan 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants