From d1491893c675c884e2a59a22afde8f8b0a131380 Mon Sep 17 00:00:00 2001 From: cswimr Date: Sun, 20 Oct 2024 09:22:51 -0400 Subject: [PATCH] add names to the workflow steps --- .forgejo/workflows/build.yaml | 12 ++++++++---- .forgejo/workflows/publish.yaml | 22 ++++++++++++++-------- 2 files changed, 22 insertions(+), 12 deletions(-) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index a4718ce..3e164ad 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -14,9 +14,13 @@ jobs: runs-on: docker container: catthehacker/ubuntu:act-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - name: Checkout repository + uses: actions/checkout@v4 + - name: Setup Node.js + uses: actions/setup-node@v4 with: node-version: 18 - - run: npm ci - - run: npm run build + - name: Install dependencies + run: npm ci + - name: Build plugins + run: npm run build diff --git a/.forgejo/workflows/publish.yaml b/.forgejo/workflows/publish.yaml index b1644d5..2e7a618 100644 --- a/.forgejo/workflows/publish.yaml +++ b/.forgejo/workflows/publish.yaml @@ -4,16 +4,22 @@ on: workflow_dispatch jobs: publish: - name: Publish plugins to Release branch + name: Publish plugins runs-on: docker container: catthehacker/ubuntu:act-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - name: Checkout repository + uses: actions/checkout@v4 + - name: Setup Node.js + uses: actions/setup-node@v4 with: node-version: 18 - - run: git config --global user.name "${GITHUB_ACTOR}" - - run: git config --global user.email "${GITHUB_ACTOR_ID}+${GITHUB_ACTOR}@users.noreply.github.com" - - run: git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} - - run: npm ci - - run: npm run publish + - name: Configure Git + run: | + git config --global user.name "${GITHUB_ACTOR}" + git config --global user.email "${GITHUB_ACTOR_ID}+${GITHUB_ACTOR}@users.noreply.github.com" + git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} + - name: Install dependencies + run: npm ci + - name: Publish plugins to Release branch + run: npm run publish