add names to the workflow steps
All checks were successful
build / Build plugins (push) Successful in 15s

This commit is contained in:
Seaswimmer 2024-10-20 09:22:51 -04:00
parent 5c2733de26
commit d1491893c6
Signed by: cswimr
GPG key ID: A9C162E867C851FA
2 changed files with 22 additions and 12 deletions

View file

@ -14,9 +14,13 @@ jobs:
runs-on: docker runs-on: docker
container: catthehacker/ubuntu:act-latest container: catthehacker/ubuntu:act-latest
steps: steps:
- uses: actions/checkout@v4 - name: Checkout repository
- uses: actions/setup-node@v4 uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with: with:
node-version: 18 node-version: 18
- run: npm ci - name: Install dependencies
- run: npm run build run: npm ci
- name: Build plugins
run: npm run build

View file

@ -4,16 +4,22 @@ on: workflow_dispatch
jobs: jobs:
publish: publish:
name: Publish plugins to Release branch name: Publish plugins
runs-on: docker runs-on: docker
container: catthehacker/ubuntu:act-latest container: catthehacker/ubuntu:act-latest
steps: steps:
- uses: actions/checkout@v4 - name: Checkout repository
- uses: actions/setup-node@v4 uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with: with:
node-version: 18 node-version: 18
- run: git config --global user.name "${GITHUB_ACTOR}" - name: Configure Git
- run: git config --global user.email "${GITHUB_ACTOR_ID}+${GITHUB_ACTOR}@users.noreply.github.com" run: |
- run: git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} git config --global user.name "${GITHUB_ACTOR}"
- run: npm ci git config --global user.email "${GITHUB_ACTOR_ID}+${GITHUB_ACTOR}@users.noreply.github.com"
- run: npm run publish 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