Skip to content

Commit 3fbfb38

Browse files
committed
fix: Steps in workflow reorganized
1 parent 353d0d4 commit 3fbfb38

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,22 @@ on:
1717
- minor
1818
- major
1919

20-
2120
jobs:
2221
tests:
2322
name: Run Unit Tests
2423
runs-on: [ubuntu-latest]
2524
steps:
26-
- uses: actions/checkout@v5
25+
- name: Checkout Into Source Code
26+
uses: actions/checkout@v5
27+
2728
- name: Set up Go
2829
uses: actions/setup-go@v6
2930
with:
3031
go-version-file: go.mod
32+
3133
- name: Lint code
3234
uses: golangci/golangci-lint-action@v8
35+
3336
- name: Run Unit Tests
3437
run: |
3538
export CGO_ENABLED=0
@@ -102,7 +105,7 @@ jobs:
102105
sha1sum "storage-cli-${{ env.VERSION_NUMBER }}-windows-amd64.exe" >> $GITHUB_STEP_SUMMARY
103106
echo '```' >> $GITHUB_STEP_SUMMARY
104107
105-
- name: Create Release
108+
- name: Create Github Release
106109
uses: ncipollo/release-action@v1
107110
with:
108111
tag: ${{ steps.tag_version.outputs.new_tag }}
@@ -113,7 +116,7 @@ jobs:
113116
storage-cli-${{ env.VERSION_NUMBER }}-windows-amd64.exe
114117
token: ${{ secrets.GITHUB_TOKEN }}
115118

116-
- name: Configure AWS credentials
119+
- name: Configure AWS
117120
uses: aws-actions/configure-aws-credentials@v4
118121
with:
119122
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
@@ -125,8 +128,4 @@ jobs:
125128
aws s3 cp "storage-cli-${{ env.VERSION_NUMBER }}-linux-amd64" \
126129
"s3://storage-cli-artifacts/storage-cli-${{ env.VERSION_NUMBER }}-linux-amd64"
127130
aws s3 cp "storage-cli-${{ env.VERSION_NUMBER }}-windows-amd64.exe" \
128-
"s3://storage-cli-artifacts/storage-cli-${{ env.VERSION_NUMBER }}-windows-amd64.exe"
129-
130-
131-
132-
131+
"s3://storage-cli-artifacts/storage-cli-${{ env.VERSION_NUMBER }}-windows-amd64.exe"

0 commit comments

Comments
 (0)