1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-22 18:32:45 +01:00

Github action stuff

This commit is contained in:
Raymond Hill 2022-09-08 12:07:01 -04:00
parent 96e1fe49d4
commit 517f7f5c23
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
2 changed files with 3 additions and 4 deletions

View File

@ -48,7 +48,7 @@ jobs:
- name: Build MV3 packages
run: |
tools/make-mv3.sh full
echo ::set-output name=MV3PACKAGE::$(basename $(ls dist/build/uBlock0_*.mv3.zip))
echo "MV3PACKAGE=$(basename $(ls dist/build/uBlock0_*.mv3.zip))" >> $GITHUB_ENV
- name: Upload Chromium package
uses: actions/upload-release-asset@v1
env:
@ -91,6 +91,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: dist/build/${{ steps.release_info.outputs.MV3PACKAGE }}
asset_name: ${{ steps.release_info.outputs.MV3PACKAGE }}
asset_path: dist/build/${{ env.MV3PACKAGE }}
asset_name: ${{ env.MV3PACKAGE }}
asset_content_type: application/octet-stream

View File

@ -65,6 +65,5 @@ if [ "$1" = "full" ]; then
cd - > /dev/null
cp $TMPDIR/$PACKAGENAME dist/build/
rm -rf $TMPDIR
ls -l dist/build
echo "Package location: $(pwd)/dist/build/$PACKAGENAME"
fi