mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-22 10:22:51 +01:00
Github action stuff
This commit is contained in:
parent
96e1fe49d4
commit
517f7f5c23
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user