release 0.1.0 #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
tags: | |
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 | |
name: Create Release | |
jobs: | |
build: | |
name: Create Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- uses: erlef/setup-beam@v1 | |
with: | |
otp-version: '26.1.1' | |
elixir-version: '1.15.7' | |
- uses: goto-bus-stop/setup-zig@v2 | |
- name: Build | |
run: | | |
mix setup | |
mix assets.deploy | |
MIX_ENV=prod mix release --force --overwrite | |
- name: Create Release | |
id: create_release | |
uses: softprops/action-gh-release@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token | |
with: | |
name: X-Trace ${{ github.ref }} | |
tag_name: ${{ github.ref }} | |
body: 'Take a look at the assets to download and install this app.' | |
draft: true | |
prerelease: false | |
files: | | |
burrito_out/xtrace_linux | |
burrito_out/xtrace_linux_aarch64 | |
burrito_out/xtrace_macos | |
burrito_out/xtrace_macos_aarch64 | |
burrito_out/xtrace_windows.exe |