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 248e025 commit 9b16096Copy full SHA for 9b16096
.github/workflows/check-version.yml
@@ -44,21 +44,15 @@ jobs:
44
id: extract_version
45
run: |
46
VERSION=$(grep -oP 'The next release version is \K[0-9]+\.[0-9]+\.[0-9]+' release.log || echo "unknown")
47
- echo "VERSION=$VERSION" >> $GITHUB_ENV
+ cat <<EOF > $JSON_FILE
48
+ {
49
+ "schemaVersion": 1,
50
+ "label": "next version",
51
+ "message": "$VERSION",
52
+ "color": "blue"
53
+ }
54
+ EOF
55
echo "Extracted version: $VERSION"
-
- - name: Create JSON file
- run: |
- cat <<EOF > $JSON_FILE
- {
- "schemaVersion": 1,
- "label": "next version",
56
- "message": "${VERSION}",
57
- "color": "blue"
58
- }
59
- EOF
60
- env:
61
- VERSION: ${{ env.VERSION }}
62
63
- name: Update Gist with badge
64
env:
0 commit comments