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: store artifacts after build #79

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

trym-b
Copy link
Contributor

@trym-b trym-b commented Feb 29, 2024

Motivation

To be able to build and release more automatic and less dependent on the local environment, we need
to store the build artifacts in a place where we
can access them later.

Changes

Stores some of the build artifacts from the dist directory after a successful build.

Future work

Use these artifacts to create a release together
with autogenerated docs.

Quirks

Ideally the artifacts should be built in a
separate job to avoid potential contamination of
the build environment. But because this is a paid
gorelease feature we will just have to continue
building all targets in one go.

@trym-b trym-b force-pushed the ci/build-releases-with-github-actions branch from f1f93e8 to 97ffe96 Compare March 4, 2024 07:01
@trym-b
Copy link
Contributor Author

trym-b commented Mar 6, 2024

As for the --clean command we talked about @maeb, it seems like it just cleans up previously built artifacts. But since we do not use caching, we do not need this argument. But that is outside the scope of this PR

# Motivation

To be able to build and release more automatic and
less dependent on the local environment, we need
to store the build artifacts in a place where we
can access them later.

# Changes

Stores some of the build artifacts from the `dist`
directory after a successful build.

# Future work

Use these artifacts to create a release together
with autogenerated docs.

# Quirks

Ideally the artifacts should be built in a
separate job to avoid potential contamination of
the build environment. But because this is a paid
`gorelease` feature we will just have to continue
building all targets in one go.
@trym-b trym-b force-pushed the ci/build-releases-with-github-actions branch from 97ffe96 to af93e5f Compare March 6, 2024 07:09
@trym-b trym-b merged commit 8b70988 into main Mar 6, 2024
4 checks passed
@trym-b trym-b deleted the ci/build-releases-with-github-actions branch March 6, 2024 08:44
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