diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index c29fc28..d86d42c 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -16,11 +16,14 @@ jobs: steps: - uses: actions/checkout@master - name: Install deps - run: apt-get update; apt-get upgrade -y; apt-get install -y libdbus-1-3 libdbus-1-dev libdbus-1-3 pkg-config - - name: Compile and release - uses: rust-build/rust-build.action@v1.4.5 + run: apt-get update; apt-get install -y libdbus-1-3 libdbus-1-dev libdbus-1-3 pkg-config + - name: Build + uses: houseabsolute/actions-rust-cross@v1 env: GITHUB_TOKEN: ${{ secrets.GT_TOKEN }} with: - RUSTTARGET: ${{ matrix.target }} - EXTRA_FILES: README.md \ No newline at end of file + command: build + - name: Release + uses: softprops/action-gh-release@v2 + with: + files: README.md \ No newline at end of file