Initial version
This commit is contained in:
parent
8afbd6324d
commit
cea9ee6e51
9 changed files with 683 additions and 375 deletions
12
.github/workflows/ci.yaml
vendored
12
.github/workflows/ci.yaml
vendored
|
@ -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
|
||||
|
|
10
.github/workflows/release.yaml
vendored
10
.github/workflows/release.yaml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue