forked from DigiLive/mushroom-strategy
Refactor job and step names
This commit is contained in:
10
.github/workflows/webpack.yml
vendored
10
.github/workflows/webpack.yml
vendored
@@ -11,6 +11,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
name: Build Distribution
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
CI_COMMIT_MESSAGE: Continuous Integration - Build Distribution
|
CI_COMMIT_MESSAGE: Continuous Integration - Build Distribution
|
||||||
@@ -22,12 +23,13 @@ jobs:
|
|||||||
|
|
||||||
# Checkout Repository
|
# Checkout Repository
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- name: Checkout Repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.WORKFLOW_GIT_ACCESS_TOKEN }}
|
token: ${{ secrets.WORKFLOW_GIT_ACCESS_TOKEN }}
|
||||||
|
|
||||||
# Build steps
|
# Build steps
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Setup Node.js ${{ matrix.node-version }}
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
@@ -44,9 +46,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git diff --quiet . || echo "changed=true" >> $GITHUB_OUTPUT
|
git diff --quiet . || echo "changed=true" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
# Commit and push all changed files.
|
# Commit and push all changed files.
|
||||||
# Must only affect files that are listed in "paths-ignore".
|
# Must only affect files that are listed in "paths-ignore".
|
||||||
- name: GIT Commit Distribution Build
|
- name: Commit Distribution Build
|
||||||
# Only run on a main branch push (e.g., pull request merge).
|
# Only run on a main branch push (e.g., pull request merge).
|
||||||
if: github.event_name == 'push' && steps.checkDiff.outputs.changed == 'true'
|
if: github.event_name == 'push' && steps.checkDiff.outputs.changed == 'true'
|
||||||
run: |
|
run: |
|
||||||
|
Reference in New Issue
Block a user