diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 43abb6c..702a3c2 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -15,13 +15,15 @@ jobs: - uses: actions/checkout@master - name: Install deps run: apt-get update; apt-get install -y libdbus-1-3 libdbus-1-dev libdbus-1-3 pkg-config - - name: Build + - name: Build binary uses: houseabsolute/actions-rust-cross@v1 - env: - GITHUB_TOKEN: ${{ secrets.GT_TOKEN }} with: command: build - - name: Release - uses: softprops/action-gh-release@v2 + target: x86_64-unknown-linux-gnu + args: "--locked --release" + strip: true + - name: Publish artifacts and release + uses: houseabsolute/actions-rust-release@v0 with: - files: README.md \ No newline at end of file + executable-name: mycelium + target: x86_64-unknown-linux-gnu \ No newline at end of file