Skip to content

Commit

Permalink
ci: do not compute checksum
Browse files Browse the repository at this point in the history
  • Loading branch information
endorama committed Jul 19, 2022
1 parent a89fcf8 commit 0af5204
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,18 @@ jobs:
# with:
# limit-access-to-actor: true

- name: create checksum - linux
if: "startswith(runner.os, 'linux')"
run: sha256sum 2ami-${{ needs.create-release.outputs.version }}-${{ matrix.operating-system }} > checksum-2ami-${{ needs.create-release.outputs.version }}-${{ matrix.operating-system }}.txt
# - name: create checksum
# run: task checksum:create

- name: create checksum - macOS
if: "startswith(runner.os, 'macOS')"
run: shasum -a 256 2ami-${{ needs.create-release.outputs.version }}-${{ matrix.operating-system }} > checksum-2ami-${{ needs.create-release.outputs.version }}-${{ matrix.operating-system }}.txt
# - name: create checksum - linux
# if: "startswith(runner.os, 'linux')"
# run: sha256sum 2ami-${{ needs.create-release.outputs.version }}-${{ matrix.operating-system }} > checksum-2ami-${{ needs.create-release.outputs.version }}-${{ matrix.operating-system }}.txt

- name: create checksum - Windows
if: "startswith(runner.os, 'Windows')"
run: Get-FileHash -Algorithm SHA256 -Path ./2ami-${{ needs.create-release.outputs.version }}-${{ matrix.operating-system }}
# - name: create checksum - macOS
# if: "startswith(runner.os, 'macOS')"
# run: shasum -a 256 2ami-${{ needs.create-release.outputs.version }}-${{ matrix.operating-system }} > checksum-2ami-${{ needs.create-release.outputs.version }}-${{ matrix.operating-system }}.txt

# - name: create checksum - Windows
# if: "startswith(runner.os, 'Windows')"
# run: Get-FileHash -Algorithm SHA256 -Path ./2ami-${{ needs.create-release.outputs.version }}-${{ matrix.operating-system }}

0 comments on commit 0af5204

Please sign in to comment.