Closed xbpk3t closed 6 months ago
Thanks for feedback
make link
& make unlink
. Please delete workflow from Aflred github action
&& alfred gallery
version template both. Auto update
need to disable
when deliver alfred workflow to Alfred Gallery. The first two issue has been fixed at Release v0.4.1 · cage1016/ak
Thx for your answer
The third point is because I directly use the tag trigger instead of the release trigger, so there is no relevant data, cause this error.
If use release trigger, It may be a better choice to judge before executing the operation, and it is best to be compatible with tag trigger, such as this
- name: Set version env variable
run: |
# Define the release tag name based on the event type
if [[ "${{ github.event_name }}" == "release" ]]; then
echo "VERSION=$(cat ${GITHUB_EVENT_PATH} | jq -r '.release.tag_name')" >> $GITHUB_ENV
elif [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
echo "VERSION=${{ inputs.release_tag_name }}" >> $GITHUB_ENV
elif [[ "${{ github.event_name }}" == "push" && contains(github.ref, 'refs/tags/') ]]; then
echo "VERSION=${{ github.ref_name }}" >> $GITHUB_ENV
fi
The fourth point is that I still think that using env to control is a better choice. As a generator, Users should not directly download different workflows to determine whether automatic updates can be performed.
Hope you can consider it.
go-bindata
go get
is deprecatedmaybe this is better
symbolic link error
make unlink
doesn't work, i have to delete workflow directly, then the symbolic link will be removedI've make unlink to remove symbolic link, but this symbolic link is still exist
release tag
tag is null
I usually use
${{ github.ref_name }}
, and this works fineEnabledAutoUpdate
Why not directly control whether to automatically update through env, but make two releases?
This is not intuitive
Finally, this tool is really useful, thx for your work