From b7bce058c24877130bddd91cb0b3aa95f8e3445b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A9ril=20Pilon?= Date: Sat, 7 Jan 2023 21:15:35 +0000 Subject: [PATCH] chore: improve step names for all workflows --- .github/workflows/branches.yml | 2 +- .github/workflows/build-docker-image.yml | 2 +- .github/workflows/build.yml | 9 +++++---- .github/workflows/manual.yml | 9 +++++---- 4 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/workflows/branches.yml b/.github/workflows/branches.yml index a9999a1..7bc50fe 100644 --- a/.github/workflows/branches.yml +++ b/.github/workflows/branches.yml @@ -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 diff --git a/.github/workflows/build-docker-image.yml b/.github/workflows/build-docker-image.yml index b392ab1..78fcbd8 100644 --- a/.github/workflows/build-docker-image.yml +++ b/.github/workflows/build-docker-image.yml @@ -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 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 05c6166..e47ff9e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml index 0675578..ab9d4b4 100644 --- a/.github/workflows/manual.yml +++ b/.github/workflows/manual.yml @@ -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 @@ -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 @@ -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 @@ -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 }}