We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e47b953 commit 26a8deaCopy full SHA for 26a8dea
.github/workflows/release.yml
@@ -32,8 +32,9 @@ jobs:
32
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33
run: |
34
echo "Installing gh CLI..."
35
- curl -L https://github.com/cli/cli/releases/download/v2.17.0/gh_2.17.0_linux_amd64.tar.gz | tar xvz --strip-components=2 --exclude=man
+ curl -L https://github.com/cli/cli/releases/download/v2.17.0/gh_2.17.0_linux_amd64.tar.gz | \
36
+ tar xvz --strip-components=2 --exclude=man
37
chmod +x ./gh
38
- ./gh release create --repo "$GITHUB_REPOSITORY" "$GITHUB_REF_NAME" ./assets/*
39
-
+ ./gh release create --repo "$GITHUB_REPOSITORY" "$GITHUB_REF_NAME" ./assets/* || \
40
+ ./gh release upload --repo "$GITHUB_REPOSITORY" "$GITHUB_REF_NAME" ./assets/*
0 commit comments