-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
82 additions
and
18 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
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 | ||
permissions: | ||
contents: write | ||
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 | ||
with: | ||
version: 0.11.0 | ||
- 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 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,7 @@ x_trace-*.tar | |
npm-debug.log | ||
/assets/node_modules/ | ||
|
||
/burrito_out/ | ||
/.idea/ | ||
*.iml | ||
.hosts.erlang |
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
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
Oops, something went wrong.