Initial version

This commit is contained in:
DavidOnTop 2023-12-09 13:51:18 +00:00
parent 8afbd6324d
commit cea9ee6e51
No known key found for this signature in database
GPG key ID: FAB914DDC2F180EB
9 changed files with 683 additions and 375 deletions

View file

@ -14,18 +14,6 @@ env:
CARGO_TERM_COLOR: always
jobs:
test:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install toolchain
uses: dtolnay/rust-toolchain@nightly
- name: Run cargo test
run: cargo test
clippy_check:
name: Clippy
runs-on: ubuntu-latest

View file

@ -6,7 +6,7 @@ on:
- '*'
env:
binary: rust-template
binary: rofi-edit
jobs:
@ -26,14 +26,14 @@ jobs:
- name: Upload binaries to artifacts
uses: actions/upload-artifact@v3
with:
path: target/x86_64-unknown-linux-gnu/release/${{ env.binary }}
name: ${{ env.binary }}
path: target/x86_64-unknown-linux-gnu/release/${{ env.binary }}.so
name: ${{ env.binary }}.so
retention-days: 1
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ env.binary }}
asset_name: ${{ env.binary }}-linux-${{ steps.get_version.outputs.tag }}
file: ${{ env.binary }}.so
asset_name: ${{ env.binary }}-linux-${{ steps.get_version.outputs.tag }}.so
tag: ${{ github.ref }}
overwrite: true