sindresorhus/refined-github








Do you want to work on this issue?
You can request for a bounty in order to promote it!
Include the zipped extension in each release #3545
fregante posted onGitHub
Since #3421 added automatic releases, now we can also include the built extension for each release.
There are several actions that allow attaching files to releases, so we just need to ensure that they're compatible with our workflow, e.g.
- name: Update extension’s meta
env:
VER: ${{ needs.Version.outputs.version }}
run: |
echo https://github.com/$GITHUB_REPOSITORY/tree/$VER > distribution/SOURCE_URL.txt
npm run version
- uses: actions/upload-artifact@v2
with:
path: distribution
+ - uses: *some action here*
+ with:
+ files:
+ - distribution
+ release: ${{ needs.Version.outputs.version }}
+ token: ${{ secrets.GITHUB_TOKEN }}