From 3452561c7c35b134bcd19c6b3c8136dfdf667d9d Mon Sep 17 00:00:00 2001 From: Karolis Stasaitis Date: Tue, 16 Jul 2024 23:55:16 +0200 Subject: [PATCH 1/4] bump to 0.1.1 --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a1acf8e..217d510 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -327,7 +327,7 @@ dependencies = [ [[package]] name = "sinowealth-kb-tool" -version = "0.1.0" +version = "0.1.1" dependencies = [ "clap", "clap-num", diff --git a/Cargo.toml b/Cargo.toml index 47b094a..701041b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ description = """ A utility for reading and writing flash contents on Sinowealth 8051-based HID devices through the commonly found ISP bootloader """ repository = "https://github.com/carlossless/sinowealth-kb-tool" -version = "0.1.0" +version = "0.1.1" edition = "2021" license = "MIT" rust-version = "1.65" From 9f33666c7b35263c3ec66dcdb9cd341a63e2fe51 Mon Sep 17 00:00:00 2001 From: Karolis Stasaitis Date: Tue, 16 Jul 2024 23:59:56 +0200 Subject: [PATCH 2/4] github action update --- .github/workflows/push.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 6eb8369..61b8332 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -14,9 +14,9 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Cargo cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.cargo/registry @@ -28,9 +28,9 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Cargo cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.cargo/registry @@ -60,9 +60,9 @@ jobs: TARGET: ${{ matrix.TARGET }} OS: ${{ matrix.OS }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Cargo cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.cargo/registry @@ -110,12 +110,12 @@ jobs: contents: write steps: - name: Download artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: result path: ./artifacts - name: Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: draft: true generate_release_notes: true From c064bb3043832b4147f6d1ef9226fb64797babb0 Mon Sep 17 00:00:00 2001 From: Karolis Stasaitis Date: Wed, 17 Jul 2024 00:02:48 +0200 Subject: [PATCH 3/4] updated upload-artifact version --- .github/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 61b8332..dbed775 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -96,7 +96,7 @@ jobs: mv ./target/$TARGET/release/$EXEC ./$EXEC tar -czf ./artifacts/$NAME-$TARGET-$TAG.tar.gz $EXEC - name: Archive artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: result path: | From 35886e3032f0f5272d218287dff76855df5432b9 Mon Sep 17 00:00:00 2001 From: Karolis Stasaitis Date: Wed, 17 Jul 2024 00:10:49 +0200 Subject: [PATCH 4/4] differently named artifacts --- .github/workflows/push.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index dbed775..a6f1964 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -98,7 +98,7 @@ jobs: - name: Archive artifact uses: actions/upload-artifact@v4 with: - name: result + name: result-${{ matrix.TARGET }} path: | ./artifacts @@ -112,7 +112,8 @@ jobs: - name: Download artifacts uses: actions/download-artifact@v4 with: - name: result + pattern: result-* + merge-multiple: true path: ./artifacts - name: Release uses: softprops/action-gh-release@v2