Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/savi-lang/action-build-release
Build Savi application release binaries for multiple platforms from a single CI runner.
https://github.com/savi-lang/action-build-release
build cross-compile github-actions release savi
Last synced: about 1 month ago
JSON representation
Build Savi application release binaries for multiple platforms from a single CI runner.
- Host: GitHub
- URL: https://github.com/savi-lang/action-build-release
- Owner: savi-lang
- License: bsd-3-clause
- Created: 2022-09-23T18:59:19.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-21T15:02:04.000Z (9 months ago)
- Last Synced: 2024-04-21T19:16:45.307Z (9 months ago)
- Topics: build, cross-compile, github-actions, release, savi
- Homepage:
- Size: 33.2 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# `savi-lang/action-build-release`
Build Savi application release binaries for multiple platforms from a single CI runner.
## Example
If you have a repository with a Savi application manifest named `my-app`, then you could use a workflow like this one to give a workflow that can be triggered manually at any time to tag a new release and upload release binaries as assets attached to the release:
```yaml
name: releaseon:
workflow_dispatch:
inputs:
version-tag:
description: |
The name of the version to release (e.g. `v1.2.3` or `v0.20220131.0`).
required: truejobs:
all:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: savi-lang/[email protected]# Build the release binaries for all platforms and package in tarballs.
- uses: savi-lang/action-build-release@v1
id: my-app
with:
manifest-name: my-app
tarball-name: my-app-${{ github.event.inputs.version-tag }}
all-platforms: true
macosx-accept-license: true
windows-accept-license: true# Tag the new release and upload the files from the tarball directory.
- uses: softprops/action-gh-release@v1
if: ${{ github.event.inputs.version-tag != '' }}
with:
tag_name: ${{ github.event.inputs.version-tag }}
generate_release_notes: true
token: ${{ secrets.BOT_GITHUB_TOKEN }} # (allows triggering workflows)
fail_on_unmatched_files: true
files: |
${{ steps.my-app.outputs.tarball-directory }}/*
```