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'