Skip to content
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

ci: build extension for each PR #1110

Merged
merged 12 commits into from
Apr 4, 2022
Merged

ci: build extension for each PR #1110

merged 12 commits into from
Apr 4, 2022

Conversation

Jolg42
Copy link
Contributor

@Jolg42 Jolg42 commented Apr 4, 2022

Related #1005

@Jolg42 Jolg42 added this to the 3.12.0 milestone Apr 4, 2022
@github-actions
Copy link

github-actions bot commented Apr 4, 2022

🤖 Pull request artifacts

file commit
pr1110-prisma.vsix 673b3c2

github-actions bot added a commit that referenced this pull request Apr 4, 2022
github-actions bot added a commit that referenced this pull request Apr 4, 2022
github-actions bot added a commit that referenced this pull request Apr 4, 2022
@Jolg42 Jolg42 marked this pull request as ready for review April 4, 2022 08:39
@Jolg42 Jolg42 merged commit 4393735 into main Apr 4, 2022
@Jolg42 Jolg42 deleted the joel/pr-build-extension branch April 4, 2022 08:41
github-actions bot added a commit that referenced this pull request Apr 4, 2022
@janpio
Copy link
Contributor

janpio commented Apr 4, 2022

Isn't committing to the branch a bad idea regarding merge conflicts and pushing from and un-updated localhost? I thought it would be enough to upload as an artifact to GH Actions and link to that.

@Jolg42
Copy link
Contributor Author

Jolg42 commented Apr 5, 2022

The commits are made on a specific branch https://github.com/prisma/language-tools/tree/artifacts/pull-request-artifacts

So should be safe from merge conflicts, but we might need to force delete and clean it up once in a while if it takes too much space.

The upload artifact thing is a no go, it's very hard to get a URL to it and expires after 90days. (uploading to the action run)

The other alternative is to create a release and add the artifact there.

@janpio
Copy link
Contributor

janpio commented Apr 5, 2022

Ahh, I did not pick up that the commit was on another branch. Neat!

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.

2 participants