Skip to content

Commit 61b0813

Browse files
committed
Test comparing shas
1 parent b11c962 commit 61b0813

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/test-upload-build-sha.yml

+9-8
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@ jobs:
1010
name: Upload the Build Shaw
1111
runs-on: ubuntu-20.04
1212
steps:
13-
- run: echo ${{ github.sha }} > sha.txt
14-
- name: Upload Shaw File To Release
15-
uses: svenstaro/upload-release-action@v2
16-
with:
17-
file: sha.txt
18-
tag: v1.2.1-0
19-
repo_name: brimdata/zui-insiders
20-
repo_token: ${{ secrets.PAT_TOKEN }}
13+
- run: '[[ ${{github.sha}} == $(curl -L https://github.com/brimdata/zui-insiders/releases/download/v1.2.1-0/sha.txt) ]]'
14+
# - run: echo ${{ github.sha }} > sha.txt
15+
# - name: Upload Sha File To Release
16+
# uses: svenstaro/upload-release-action@v2
17+
# with:
18+
# file: sha.txt
19+
# tag: v1.2.1-0
20+
# repo_name: brimdata/zui-insiders
21+
# repo_token: ${{ secrets.PAT_TOKEN }}

0 commit comments

Comments
 (0)