diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 12845bcc3..25ea171fd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 diff --git a/tools/make-mv3.sh b/tools/make-mv3.sh index 175fd194f..a07723db7 100755 --- a/tools/make-mv3.sh +++ b/tools/make-mv3.sh @@ -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