Attempt to make make GitHub Actions work

This commit is contained in:
Raymond Hill 2020-12-09 11:23:14 -05:00
parent 210fbf9353
commit 22a4848d8f
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 24 additions and 7 deletions

View File

@ -29,13 +29,30 @@ jobs:
tools/make-chromium.sh $VERSION
tools/make-firefox.sh $VERSION
tools/make-thunderbird.sh $VERSION
- name: Upload packages
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
- name: Upload Chromium package
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: |
dist/build/uBlock0_$VERSION.chromium.zip
dist/build/uBlock0_$VERSION.firefox.xpi
dist/build/uBlock0_$VERSION.thunderbird.xpi
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: dist/build/uBlock0_$VERSION.chromium.zip
asset_name: dist/build/uBlock0_$VERSION.chromium.zip
asset_content_type: application/octet-stream
- name: Upload Firefox package
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: dist/build/uBlock0_$VERSION.firefox.zip
asset_name: dist/build/uBlock0_$VERSION.firefox.zip
asset_content_type: application/octet-stream
- name: Upload Thunderbird package
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: dist/build/uBlock0_$VERSION.thunderbird.zip
asset_name: dist/build/uBlock0_$VERSION.thunderbird.zip
asset_content_type: application/octet-stream