Skip to content

Commit

Permalink
chore: improve step names for all workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
mpsq committed Jan 7, 2023
1 parent 6d1b803 commit b7bce05
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
- name: Checkout the repository
uses: actions/checkout@v3

- name: Lint Bash scripts
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
image:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
- name: Checkout the repository
uses: actions/checkout@v3

- name: Import environment variables
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
pkg_version: ${{ steps.var.outputs.pkg_version }}
pkg_rel: ${{ steps.var.outputs.pkg_rel }}
steps:
- name: Checkout the repo
- name: Checkout the repository
uses: actions/checkout@v3

- name: Import environment variables
Expand All @@ -30,7 +30,7 @@ jobs:
echo "$line" >> $GITHUB_ENV
done < assets/variables
- name: Set env vars
- name: Set job variables
id: var
run: . ./scripts/set-job-vars.bash

Expand All @@ -49,7 +49,7 @@ jobs:
PKG_VERSION: ${{ needs.check.outputs.pkg_version }}
PKG_REL: ${{ needs.check.outputs.pkg_rel }}
steps:
- name: Checkout the repo
- name: Checkout the repository
uses: actions/checkout@v3

- name: Import environment variables
Expand All @@ -62,7 +62,8 @@ jobs:
- name: Build artifacts
run: bash ./scripts/build-artifacts.bash

- uses: ncipollo/release-action@v1
- name: Create release & upload artifacts
uses: ncipollo/release-action@v1
with:
tag: ${{ needs.check.outputs.pkg_version }}-${{ needs.check.outputs.pkg_rel }}
bodyFile: ${{ env.USR_HOME }}/body.md
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
pkg_version: ${{ steps.var.outputs.pkg_version }}
pkg_rel: ${{ steps.var.outputs.pkg_rel }}
steps:
- name: Checkout the repo
- name: Checkout the repository
uses: actions/checkout@v3

- name: Import environment variables
Expand All @@ -38,7 +38,7 @@ jobs:
echo "$line" >> $GITHUB_ENV
done < assets/variables
- name: Set env vars
- name: Set job variables
id: var
run: . ./scripts/set-job-vars.bash

Expand All @@ -58,7 +58,7 @@ jobs:
PKG_VERSION: ${{ needs.check.outputs.pkg_version }}
PKG_REL: ${{ needs.check.outputs.pkg_rel }}
steps:
- name: Checkout the repo
- name: Checkout the repository
uses: actions/checkout@v3

- name: Import environment variables
Expand All @@ -78,7 +78,8 @@ jobs:
path: ${{ env.USR_HOME }}/${{ needs.check.outputs.pkg_version }}.tar.gz
retention-days: 5

- uses: ncipollo/release-action@v1
- name: Create release & upload artifacts
uses: ncipollo/release-action@v1
if: ${{ inputs.release }}
with:
tag: ${{ needs.check.outputs.pkg_version }}-${{ needs.check.outputs.pkg_rel }}
Expand Down

0 comments on commit b7bce05

Please sign in to comment.