Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Generic GHA to sync dists with gh releases #434

Closed
wants to merge 47 commits into from

Conversation

galargh
Copy link
Contributor

@galargh galargh commented Jan 3, 2023

Resolves ipfs/distributions#503

This PR was extracted out of #262

Description

go-ipfs/sync-release-assets.yml and go-libp2p-relay-daemon/sync-release-assets.yml are almost identical. The only difference between the two is the name of the distribution that they are syncing. That's why I want to turn sync-release-assets.yml into a reusable workflow living in protocol/.github repository that takes dist as an input parameter(https://github.com/protocol/.github/blob/486f183d83a80dd1a48589b8bfbf1672f8167064/.github/workflows/sync-release-assets.yml).

I also want to use the unified CI framework to copy the concrete workflow(the one that is going to be using the reusable workflow) to both go-ipfs and go-libp2p-relay-daemon repositories.

Thanks to #262, we can create a sync-release-assets.yml template(

) that reads the dist value from config(
"dist": "go-ipfs"
).

Testing

Base automatically changed from sync-release-assets to master February 1, 2023 12:36
@galargh galargh closed this Mar 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Generic GithubAction to sync dists with gh releases
1 participant