You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- name: Publish information about the release to Twitter # tweet only if detected version change is not a patch
70
81
# tweet goes out even if the type is not major or minor but "You need provide version number to compare."
71
82
# it is ok, it just means we did not identify previous version as we are tweeting out information about the release for the first time
72
83
if: steps.releasetype.outputs.type != 'null' && steps.releasetype.outputs.type != 'patch' # null means that versions are the same
73
84
uses: m1ner79/Github-Twittction@d1e508b6c2170145127138f93c49b7c46c6ff3a7 # using 2.0.0 https://github.com/m1ner79/Github-Twittction/releases/tag/v2.0.0
85
+
env:
86
+
RELEASE_TAG: ${{github.event.release.tag_name}}
87
+
REPO_NAME: ${{github.repository}}
88
+
AUTHOR_NAME: ${{ steps.author.outputs.name }}
89
+
RELEASE_URL: ${{github.event.release.html_url}}
74
90
with:
75
-
twitter_status: "Release ${{github.event.release.tag_name}} for ${{github.repository}} is out in the wild π±πͺπΎπ\n\nThank you for the contribution ${{ steps.author.outputs.name }} ${{github.event.release.html_url}}"
91
+
twitter_status: "Release ${{ env.RELEASE_TAG }} for ${{ env.REPO_NAME }} is out in the wild π±πͺπΎπ\n\nThank you for the contribution ${{ env.AUTHOR_NAME }} ${{ env.RELEASE_URL }}"
0 commit comments