From 28d132f659f92cea64177dfec90f7bdad01e7b69 Mon Sep 17 00:00:00 2001 From: Robin Appelman <robin@icewind.nl> Date: Wed, 4 Aug 2021 15:25:45 +0200 Subject: [PATCH] 0.2.2 Signed-off-by: Robin Appelman <robin@icewind.nl> --- .github/workflows/release.yml | 28 +++++++++++++++++++++++++++- Cargo.toml | 2 +- appinfo/info.xml | 2 +- 3 files changed, 29 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e3d59ee..9b739a0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -72,4 +72,30 @@ jobs: repo_token: ${{ secrets.GITHUB_TOKEN }} file: build/artifacts/${{ env.APP_NAME }}.tar.gz asset_name: ${{ env.APP_NAME }}.tar.gz - tag: ${{ github.ref }} \ No newline at end of file + tag: ${{ github.ref }} + + build-test-client: + name: Build test client + runs-on: ubuntu-20.04 + + steps: + - name: musl-tools + run: | + sudo apt-get install musl-tools + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + override: true + target: x86_64-unknown-linux-musl + - uses: Swatinem/rust-cache@v1 + - run: cargo build --release --target x86_64-unknown-linux-musl + working-directory: ./test_client + - name: Upload binary to release + uses: svenstaro/upload-release-action@v2 + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: target/x86_64-unknown-linux-musl/release/test_client + asset_name: test_client + tag: ${{ github.ref }} diff --git a/Cargo.toml b/Cargo.toml index dea2a2d..f7c9b52 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "notify_push" -version = "0.1.0" +version = "0.1.0" # this version number is unused, the version number for the binary will be extracted from the appinfo/info.xml during build authors = ["Robin Appelman <robin@icewind.nl>"] edition = "2018" diff --git a/appinfo/info.xml b/appinfo/info.xml index e6ee3e3..1da7ca9 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -7,7 +7,7 @@ <description>< for detailed setup instructions]]></description> - <version>0.2.1</version> + <version>0.2.2</version> <licence>agpl</licence> <author>Robin Appelman</author> <namespace>NotifyPush</namespace> -- GitLab