2 files changed, 5 insertions(+), 11 deletions(-)
@@ -8,4 +8,6 @@
## [0.1.0] - 2026-06-19
## [0.1.0] - 2026-06-19
## [0.1.0] - 2026-06-19
First release!!
@@ -1,9 +1,11 @@
name: Release
on:
push:
tags:
- "v*"
permissions:
contents: write
jobs:
build:
@@ -16,29 +18,22 @@
os: ubuntu-latest
binary: nmrs-tui
asset: nmrs-tui-x86_64-linux
- target: aarch64-unknown-linux-gnu
os: ubuntu-latest
binary: nmrs-tui
asset: nmrs-tui-aarch64-linux
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.target }}
- name: Install cross
run: cargo install cross
- name: Build
run: cross build --release --target ${{ matrix.target }}
- name: Rename binary
run: cp target/${{ matrix.target }}/release/${{ matrix.binary }} ${{ matrix.asset }}
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
@@ -51,13 +46,11 @@
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Download all artifacts
uses: actions/download-artifact@v4
with:
path: artifacts
merge-multiple: true
- name: Get changelog entry
id: changelog
run: |
@@ -66,7 +59,6 @@
echo "notes<<EOF" >> $GITHUB_OUTPUT
echo "$NOTES" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
- name: Upload to GitHub Release
uses: softprops/action-gh-release@v2
with: