We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fef1c1 commit c4f4491Copy full SHA for c4f4491
1 file changed
.github/workflows/release.yml
@@ -44,6 +44,7 @@ jobs:
44
echo "APP_PATH=${APP_PATH}" >> $GITHUB_ENV
45
46
- name: Determine version string
47
+ id: version
48
run: |
49
set -euo pipefail
50
# If triggered by tag, use the tag name (v1.2.3). Otherwise use a timestamp.
@@ -54,6 +55,7 @@ jobs:
54
55
fi
56
echo "VERSION=${VERSION}" >> $GITHUB_ENV
57
echo "DMG_NAME=CopyShot-${VERSION}.dmg" >> $GITHUB_ENV
58
+ echo "dmg_name=CopyShot-${VERSION}.dmg" >> "$GITHUB_OUTPUT"
59
60
- name: Ad-hoc codesign (.app)
61
@@ -88,6 +90,6 @@ jobs:
88
90
uses: softprops/action-gh-release@v2
89
91
with:
92
files: |
- dist/${{ env.DMG_NAME }}
- dist/${{ env.DMG_NAME }}.sha256
93
+ dist/${{ steps.version.outputs.dmg_name }}
94
+ dist/${{ steps.version.outputs.dmg_name }}.sha256
95
generate_release_notes: true
0 commit comments