-
Notifications
You must be signed in to change notification settings - Fork 0
Adding codebase #1
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
base: master
Are you sure you want to change the base?
Changes from all commits
4f15576
5b2bb0f
ed9a41e
9a77d55
943c8e1
379765e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,61 +1,59 @@ | ||
| --- | ||
| description: "#{repo}" | ||
| builds: | ||
| description: "#{repo}" | ||
| builds: | ||
| - platform: "linux" | ||
| arch: "amd64" | ||
| asset_filename: "#{repo}_#{version}_linux_amd64.tar.gz" | ||
| sha_filename: "#{repo}_#{version}_sha512-checksums.txt" | ||
| filter: | ||
| - "entity.system.os == 'linux'" | ||
| - "entity.system.arch == 'amd64'" | ||
| - "entity.system.os == 'linux'" | ||
| - "entity.system.arch == 'amd64'" | ||
|
|
||
| - platform: "linux" | ||
| arch: "386" | ||
| asset_filename: "#{repo}_#{version}_linux_386.tar.gz" | ||
| sha_filename: "#{repo}_#{version}_sha512-checksums.txt" | ||
| filter: | ||
| - "entity.system.os == 'linux'" | ||
| - "entity.system.arch == '386'" | ||
| - "entity.system.os == 'linux'" | ||
| - "entity.system.arch == '386'" | ||
|
|
||
| - platform: "linux" | ||
| arch: "arm64" | ||
| asset_filename: "#{repo}_#{version}_linux_arm64.tar.gz" | ||
| sha_filename: "#{repo}_#{version}_sha512-checksums.txt" | ||
| filter: | ||
| - "entity.system.os == 'linux'" | ||
| - "entity.system.arch == 'arm64'" | ||
| - "entity.system.os == 'linux'" | ||
| - "entity.system.arch == 'arm64'" | ||
|
|
||
| - platform: "linux" | ||
| arch: "armv7" | ||
| asset_filename: "#{repo}_#{version}_linux_armv7.tar.gz" | ||
| sha_filename: "#{repo}_#{version}_sha512-checksums.txt" | ||
| filter: | ||
| - "entity.system.os == 'linux'" | ||
| - "entity.system.arch == 'arm'" | ||
| - "entity.system.arm_version == 7" | ||
| - "entity.system.os == 'linux'" | ||
| - "entity.system.arch == 'armv7'" | ||
|
|
||
| - platform: "linux" | ||
| arch: "armv6" | ||
| asset_filename: "#{repo}_#{version}_linux_armv6.tar.gz" | ||
| - platform: "OSX" | ||
| arch: "amd64" | ||
| asset_filename: "#{repo}_#{version}_darwin_amd64.tar.gz" | ||
| sha_filename: "#{repo}_#{version}_sha512-checksums.txt" | ||
| filter: | ||
| - "entity.system.os == 'linux'" | ||
| - "entity.system.arch == 'arm'" | ||
| - "entity.system.arm_version == 6" | ||
| - "entity.system.os == 'darwin'" | ||
| - "entity.system.arch == 'amd64'" | ||
|
|
||
| - platform: "OSX" | ||
| arch: "amd64" | ||
| asset_filename: "#{repo}_#{version}_darwin_amd64.tar.gz" | ||
| arch: "arm64" | ||
| asset_filename: "#{repo}_#{version}_darwin_arm64.tar.gz" | ||
| sha_filename: "#{repo}_#{version}_sha512-checksums.txt" | ||
| filter: | ||
| - "entity.system.os == 'darwin'" | ||
| - "entity.system.arch == 'amd64'" | ||
| - "entity.system.os == 'darwin'" | ||
| - "entity.system.arch == 'arm64'" | ||
|
|
||
| - platform: "Windows" | ||
| arch: "amd64" | ||
| asset_filename: "#{repo}_#{version}_windows_amd64.tar.gz" | ||
| sha_filename: "#{repo}_#{version}_sha512-checksums.txt" | ||
| filter: | ||
| - "entity.system.os == 'windows'" | ||
| - "entity.system.arch == 'amd64'" | ||
| - "entity.system.os == 'windows'" | ||
| - "entity.system.arch == 'amd64'" | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| name: Bonsai | ||
|
|
||
| ## | ||
| # Only run this workflow after goreleaser completes | ||
| ## | ||
| permissions: | ||
| contents: read | ||
| on: | ||
| workflow_run: | ||
| workflows: | ||
| - goreleaser | ||
| types: | ||
| - completed | ||
|
|
||
| jobs: | ||
| ## | ||
| # Note: | ||
| # The Bonsai GitHub webhook integration looks for a GitHub webhook payload matching a worflow_job named: `bonsai-recompile` with status: `completed` | ||
| # To enable automatic Bonsai recompiles after building a new release in github make sure webhook_jobs events are enabled for | ||
| # the Bonsai GitHub webhook installed in GitHub repository by Bonsai as part of the asset repository resgistration process | ||
| ## | ||
| bonsai-recompile: | ||
| ## | ||
| # Only run this workflow_job after goreleaser completes successfully | ||
| ## | ||
| runs-on: ubuntu-latest | ||
| if: ${{ github.event.workflow_run.conclusion == 'success' }} | ||
| steps: | ||
| - name: bonsai-webhook | ||
| continue-on-error: true | ||
| run: echo "Trigger recompile on 'completed' workflow_job event matching workflow_job.name 'bonsai-recompile' and workflow.name 'bonsai'" | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.