From 68ef37fca67d91b8b820f53add61c67a36e6aaae Mon Sep 17 00:00:00 2001 From: glossnyx Date: Thu, 28 Oct 2021 17:36:52 -0700 Subject: [PATCH] setup environment first --- .github/workflows/deploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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: