From 6691282bc2361ff0c5de56fe8514a961e51d5845 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Wed, 9 Dec 2020 11:03:12 -0500 Subject: [PATCH] Attempt to make make GitHub Actions work --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 450e10798..599ac13f2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,6 +21,9 @@ jobs: pushd .. git clone --depth 1 https://github.com/uBlockOrigin/uAssets.git popd + - name: Set version + run: | + echo "VERSION=${{ format(github.ref, 'refs/tags/', '') }}" >> $GITHUB_ENV - name: Build all packages run: | tools/make-chromium.sh $VERSION @@ -31,7 +34,6 @@ jobs: if: startsWith(github.ref, 'refs/tags/') env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - VERSION: ${{ format(github.ref, 'refs/tags/', '') }} with: files: | dist/build/uBlock0_$VERSION.chromium.zip