diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 51c2087..d730842 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -12,6 +12,10 @@ jobs: - name: Checkout uses: actions/checkout@v2 + - name: Setup Environment + run: | + echo "::set-env name=VERSION::${GITHUB_REF//refs\/tags\/v}" + - name: Setup Java uses: actions/setup-java@v1 with: @@ -23,10 +27,6 @@ jobs: gradle-version: current arguments: build - - name: Setup Environment - run: | - echo "::set-env name=VERSION::${GITHUB_REF//refs\/tags\/v}" - - name: Publish to GitHub Releases uses: AButler/upload-release-assets@v2.0 with: