Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
hituzi-no-sippo committed Sep 22, 2024
1 parent b5f7f87 commit 09a3d05
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,3 +197,41 @@ jobs:
archive: tera-cli-$target
checksum: sha512
token: ${{ secrets.GITHUB_TOKEN }}

test:
needs: ["create_draft"]
runs-on: macos-latest

steps:
- uses: actions/checkout@v4
- name: sha256
id: sha256
uses: taiki-e/upload-rust-binary-action@v1
with:
bin: tera
target: x86_64-apple-darwin
archive: tera-cli-$target
checksum: sha256,sha512
dry-run: true
token: ${{ secrets.GITHUB_TOKEN }}

- name: cat sha256
run: |
cat ${{ steps.sha256.outputs.sha256 }}
cat ${{ steps.sha256.outputs.sha512 }}
- name: sha512
id: sha512
uses: taiki-e/upload-rust-binary-action@v1
with:
bin: tera
target: x86_64-apple-darwin
archive: tera-cli-$target
checksum: sha256,sha512
dry-run: true
token: ${{ secrets.GITHUB_TOKEN }}

- name: cat sha512
run: |
cat ${{ steps.sha512.outputs.sha256 }}
cat ${{ steps.sha512.outputs.sha512 }}

0 comments on commit 09a3d05

Please sign in to comment.