Skip to content

Commit

Permalink
Update node.js.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
grctest committed Jan 7, 2024
1 parent 2c0d4f2 commit 5f6221a
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,22 +58,22 @@ jobs:
- name: Upload .${{ matrix.release_format }} file
uses: actions/upload-artifact@v3
with:
name: BeetSetup.${{ matrix.release_format }}
path: dist/BeetSetup.${{ matrix.release_format }}
name: BeetEOSSetup.${{ matrix.release_format }}
path: dist/BeetEOSSetup.${{ matrix.release_format }}

- name: Upload linux appimage
if: matrix.os == 'ubuntu-latest'
uses: actions/upload-artifact@v3
with:
name: BeetSetup.AppImage
path: dist/BeetSetup.AppImage
name: BeetEOSSetup.AppImage
path: dist/BeetEOSSetup.AppImage

- name: Upload .exe.blockmap
if: matrix.release_format == 'exe'
uses: actions/upload-artifact@v3
with:
name: BeetSetup.exe.blockmap
path: dist/BeetSetup.exe.blockmap
name: BeetEOSSetup.exe.blockmap
path: dist/BeetEOSSetup.exe.blockmap

- name: Upload latest.yml file
if: matrix.release_format == 'exe'
Expand All @@ -92,12 +92,12 @@ jobs:
- name: Download exe
uses: actions/download-artifact@v3
with:
name: BeetSetup.exe
name: BeetEOSSetup.exe
path: ~/
- name: Download exe blockmap
uses: actions/download-artifact@v3
with:
name: BeetSetup.exe.blockmap
name: BeetEOSSetup.exe.blockmap
path: ~/
- name: Download latest yml
uses: actions/download-artifact@v3
Expand All @@ -107,36 +107,36 @@ jobs:
- name: Download dmg
uses: actions/download-artifact@v3
with:
name: BeetSetup.dmg
name: BeetEOSSetup.dmg
path: ~/
- name: Download deb
uses: actions/download-artifact@v3
with:
name: BeetSetup.deb
name: BeetEOSSetup.deb
path: ~/
- name: Download AppImage
uses: actions/download-artifact@v3
with:
name: BeetSetup.AppImage
name: BeetEOSSetup.AppImage
path: ~/
- name: Calculate hashes
id: calc_hash
run: |
echo "::set-output name=blockmaphash::$(sha256sum /home/runner/BeetSetup.exe.blockmap|cut -c-64)"
echo "::set-output name=blockmaphash::$(sha256sum /home/runner/BeetEOSSetup.exe.blockmap|cut -c-64)"
echo "::set-output name=ymlhash::$(sha256sum /home/runner/latest.yml|cut -c-64)"
echo "::set-output name=exehash::$(sha256sum /home/runner/BeetSetup.exe|cut -c-64)"
echo "::set-output name=dmghash::$(sha256sum /home/runner/BeetSetup.dmg|cut -c-64)"
echo "::set-output name=debhash::$(sha256sum /home/runner/BeetSetup.deb|cut -c-64)"
echo "::set-output name=apphash::$(sha256sum /home/runner/BeetSetup.AppImage|cut -c-64)"
echo "::set-output name=exehash::$(sha256sum /home/runner/BeetEOSSetup.exe|cut -c-64)"
echo "::set-output name=dmghash::$(sha256sum /home/runner/BeetEOSSetup.dmg|cut -c-64)"
echo "::set-output name=debhash::$(sha256sum /home/runner/BeetEOSSetup.deb|cut -c-64)"
echo "::set-output name=apphash::$(sha256sum /home/runner/BeetEOSSetup.AppImage|cut -c-64)"
- name: Perform release
uses: BTS-CM/action-gh-release@cd28b0f5ee8571b76cfdaa62a30d51d752317477
with:
files: |
/home/runner/BeetSetup.exe
/home/runner/BeetSetup.dmg
/home/runner/BeetSetup.deb
/home/runner/BeetSetup.AppImage
/home/runner/BeetSetup.exe.blockmap
/home/runner/BeetEOSSetup.exe
/home/runner/BeetEOSSetup.dmg
/home/runner/BeetEOSSetup.deb
/home/runner/BeetEOSSetup.AppImage
/home/runner/BeetEOSSetup.exe.blockmap
/home/runner/latest.yml
tag_name: ${{ needs.create_release.outputs.tag-name }}
body: |
Expand All @@ -146,11 +146,11 @@ jobs:
--------
| Platform | SHA256 Checksum |
|---|---|
|[Microsoft Windows](https://github.com/bitshares/beet/releases/download/${{ github.ref_name }}/BeetSetup.exe)|`${{steps.calc_hash.outputs.exehash}}`|
|[MacOS](https://github.com/bitshares/beet/releases/download/${{ github.ref_name }}/BeetSetup.dmg)|`${{steps.calc_hash.outputs.dmghash}}`|
|[Linux Deb](https://github.com/bitshares/beet/releases/download/${{ github.ref_name }}/BeetSetup.deb)|`${{steps.calc_hash.outputs.debhash}}`|
|[Linux AppImage](https://github.com/bitshares/beet/releases/download/${{ github.ref_name }}/BeetSetup.AppImage)|`${{steps.calc_hash.outputs.apphash}}`|
|[EXE blockmap](https://github.com/bitshares/beet/releases/download/${{ github.ref_name }}/BeetSetup.exe.blockmap)|`${{steps.calc_hash.outputs.blockmaphash}}`|
|[Microsoft Windows](https://github.com/bitshares/beet/releases/download/${{ github.ref_name }}/BeetEOSSetup.exe)|`${{steps.calc_hash.outputs.exehash}}`|
|[MacOS](https://github.com/bitshares/beet/releases/download/${{ github.ref_name }}/BeetEOSSetup.dmg)|`${{steps.calc_hash.outputs.dmghash}}`|
|[Linux Deb](https://github.com/bitshares/beet/releases/download/${{ github.ref_name }}/BeetEOSSetup.deb)|`${{steps.calc_hash.outputs.debhash}}`|
|[Linux AppImage](https://github.com/bitshares/beet/releases/download/${{ github.ref_name }}/BeetEOSSetup.AppImage)|`${{steps.calc_hash.outputs.apphash}}`|
|[EXE blockmap](https://github.com/bitshares/beet/releases/download/${{ github.ref_name }}/BeetEOSSetup.exe.blockmap)|`${{steps.calc_hash.outputs.blockmaphash}}`|
|[Latest.yml](https://github.com/bitshares/beet/releases/download/${{ github.ref_name }}/latest.yml)|`${{steps.calc_hash.outputs.ymlhash}}`|
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 5f6221a

Please sign in to comment.