Publish tester builds of a Go project as GitHub Actions workflow artifacts for every commit to a pull request or the repository.
This makes it possible for any interested party to participate in beta testing without setting up a build system locally.
This is the version of the workflow for projects using the Task task runner tool.
Install the publish-go-tester-task.yml
GitHub Actions workflow to .github/workflows/
Taskfile.yml
- variables providing project-specific data to the build system.- Install to: repository root (or merge into the existing
Taskfile.yml
).
- Install to: repository root (or merge into the existing
DistTasks.yml
- general purpose tasks for making production builds of Go projects using cgo and elastic docker containers.- Install to: repository root
PROJECT_NAME
must be set to the project-specific name in publish-go-tester-task.yml
.
Markdown badge:
[](https://github.com/TODO_REPO_OWNER/TODO_REPO_NAME/actions/workflows/publish-go-tester-task.yml)
Replace the TODO_REPO_OWNER
and TODO_REPO_NAME
placeholders in the URLs with the final repository owner and name (example).
Asciidoc badge:
image:https://github.com/{repository-owner}/{repository-name}/actions/workflows/publish-go-tester-task.yml/badge.svg["Publish Tester Build status", link="https://github.com/{repository-owner}/{repository-name}/actions/workflows/publish-go-tester-task.yml"]
Define the {repository-owner}
and {repository-name}
attributes and use them throughout the readme (example).
Add CI workflow to publish tester builds
On every commit to a pull request or the repository:
- Build the project for all supported platforms.
- Upload the builds as workflow artifacts.
This makes it possible for any interested party to participate in beta testing without setting up a build system locally.
On every commit to a pull request or the repository:
- Build the project for all supported platforms.
- Upload the builds as [workflow artifacts](https://docs.github.com/actions/using-workflows/storing-workflow-data-as-artifacts).
This makes it possible for any interested party to participate in beta testing without setting up a build system locally.