From 43f4259a0e3ce49c4ecab0cd8e534e660005b676 Mon Sep 17 00:00:00 2001 From: Markus Sammallahti Date: Sat, 10 Apr 2021 22:46:43 +0300 Subject: [PATCH] Fix publish environment variables --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4733d5f..d6d4855 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,6 +9,8 @@ jobs: release: name: Publish runs-on: ubuntu-latest + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - uses: actions/checkout@v2 - uses: olafurpg/setup-scala@v10 @@ -17,6 +19,4 @@ jobs: - name: Test run: sbt +test - name: Publish - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: sbt +publish