From 045f6a4cac6457280e909b4f1a9289b8bd783547 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Wed, 9 Dec 2020 10:14:36 -0500 Subject: [PATCH] Attempt to make make GitHub Actions work --- .github/workflows/main.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cb2bbc276..483980690 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,17 +16,18 @@ jobs: - name: Build all if: startsWith(github.ref, 'refs/tags/') run: | - ./tools/make-chromium.sh ${{ github.ref }} - ./tools/make-firefox.sh ${{ github.ref }} - ./tools/make-thunderbird.sh ${{ github.ref }} + /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/') env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + VERSION: ${{ format(github.ref, 'refs/tags/', '') }} with: files: | - ./dist/build/uBlock0_${{ github.ref }}.chromium.zip - ./dist/build/uBlock0_${{ github.ref }}.firefox.xpi - ./dist/build/uBlock0_${{ github.ref }}.thunderbird.xpi + /dist/build/uBlock0_$VERSION.chromium.zip + /dist/build/uBlock0_$VERSION.firefox.xpi + /dist/build/uBlock0_$VERSION.thunderbird.xpi