From 8be75839f613d3a3ebfbf9e45ec2e8bd4c938ecb Mon Sep 17 00:00:00 2001 From: Vishal <64505169+vishalxl@users.noreply.github.com> Date: Thu, 1 Dec 2022 00:16:30 +0530 Subject: [PATCH] added new yml file --- .github/workflows/dart.yml | 12 ------------ .github/workflows/post-release.yml | 17 +++++++++++++++++ pubspec.yaml | 2 +- 3 files changed, 18 insertions(+), 13 deletions(-) create mode 100644 .github/workflows/post-release.yml diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 82a3108..9733c35 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -53,18 +53,6 @@ jobs: - name: change permission to make it executible run: chmod 755 bin/nostr_console_elf64 - - name: Generate Release Hashes - uses: MCJack123/ghaction-Generate-Release-Hashes@v4 - with: - hash-type: sha1 - file-name: linux_hash.txt - - - name: Archive production artifacts - uses: actions/upload-artifact@v3 - with: - name: Linux asset hash - path: linux_hash.txt - - name: Archive production artifacts uses: actions/upload-artifact@v3 diff --git a/.github/workflows/post-release.yml b/.github/workflows/post-release.yml new file mode 100644 index 0000000..c3eaa19 --- /dev/null +++ b/.github/workflows/post-release.yml @@ -0,0 +1,17 @@ +name: create release digests + +on: + release: + types: [ published] + branches: [ master ] + +jobs: + once: + name: Creating digests + runs-on: ubuntu-latest + steps: + - name: Digest + uses: MCJack123/ghaction-generate-release-hashes@v1 + with: + hash-type: sha1 + file-name: nostr_console_digests.txt \ No newline at end of file diff --git a/pubspec.yaml b/pubspec.yaml index af239d9..7131a95 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -13,7 +13,7 @@ homepage: https://github.com/vishalxl/nostr_console # reset notifications for dm # increased ininital delay and improved print ui for enc groups # adding hash support - + environment: sdk: '>=2.17.3 <3.0.0'