We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f573ac0 commit aaab053Copy full SHA for aaab053
1 file changed
.github/workflows/release.yml
@@ -78,9 +78,17 @@ jobs:
78
env:
79
SOLDEER_API_TOKEN: ${{ secrets.SOLDEER_API_TOKEN }}
80
run: |
81
+ if [ -z "$SOLDEER_API_TOKEN" ]; then
82
+ echo "::error::SOLDEER_API_TOKEN secret is not set"
83
+ exit 1
84
+ fi
85
VERSION=${{ needs.release.outputs.new_release_version }}
86
echo "Publishing uint-quantization-lib~$VERSION to Soldeer..."
- soldeer push uint-quantization-lib~"$VERSION"
87
+ soldeer push uint-quantization-lib~"$VERSION" 2>&1 | tee /tmp/soldeer-output.log
88
+ if grep -q "error during" /tmp/soldeer-output.log; then
89
+ echo "::error::Soldeer push failed"
90
91
92
93
- name: Tag last Soldeer publish
94
0 commit comments