diff --git a/.github/workflows/autopublish.yml b/.github/workflows/autopublish.yml index 911706c9..e314a0a8 100644 --- a/.github/workflows/autopublish.yml +++ b/.github/workflows/autopublish.yml @@ -5,11 +5,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - run: | - ref="${github_ref////.}" - echo "::set-env name=ref::$ref" - env: - github_ref: ${{ github.ref }} + + + + + - uses: actions/setup-java@v1 with: java-version: 1.8 @@ -20,4 +20,4 @@ jobs: env: GITHUBPACKAGES_USER: ${{ secrets.GITHUBPACKAGES_USER }} GITHUBPACKAGES_PASSWORD: ${{ secrets.GITHUB_TOKEN }} - additional_version: "-$ref-build${{ github.run_number }}" + additional_version: "-build${{ github.run_number }}"