From 9085cdfbe4a0fda5798578824dae17f6bc4571f1 Mon Sep 17 00:00:00 2001 From: Park Hyeongmin Date: Fri, 16 Feb 2024 00:15:59 +0900 Subject: [PATCH] Update gradle-publish.yml --- .github/workflows/gradle-publish.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/gradle-publish.yml b/.github/workflows/gradle-publish.yml index d39483e..fc5740c 100644 --- a/.github/workflows/gradle-publish.yml +++ b/.github/workflows/gradle-publish.yml @@ -12,10 +12,15 @@ on: push: branches: - main - +env: + working-directory: ./ + jobs: build: runs-on: ubuntu-latest + defaults: + run: + working-directory: ${{ secrets.ACTION_TOKEN }} permissions: contents: read packages: write @@ -50,14 +55,11 @@ jobs: deplpoy: needs: build runs-on: ubuntu-latest + defaults: + run: + working-directory: ${{ secrets.ACTION_TOKEN }} steps: - - name: CheckOut - uses: actions/checkout@v4 - with: - token: ${{ secrets.ACTION_TOKEN }} - submodules: true - - name: ls run: ls