From 7d8cc49067e7e49f8df422741f5641389fc75caa Mon Sep 17 00:00:00 2001 From: Tom Wieczorek Date: Tue, 23 Jan 2024 11:57:53 +0100 Subject: [PATCH] Remove unused step IDs from release workflow There were quite some workflow steps that declared otherwise unused IDs. Some of them were duplicate, which is illegal for a workflow. Remove all of the unused IDs, so that it is less likely that they get copied around verbatim when adding new steps. Fixes: 51a9263a1 ("Signing k0s binaries with cosign") Signed-off-by: Tom Wieczorek --- .github/workflows/release.yml | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8e79c3f5d2b2..59ec76e47ee7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -97,7 +97,6 @@ jobs: /k0s/k0s --output-file /k0s/k0s.sig - name: Upload Release Assets - Binary - id: upload-release-asset uses: shogo82148/actions-upload-release-asset@v1.7.2 with: upload_url: ${{ needs.release.outputs.upload_url }} @@ -106,7 +105,6 @@ jobs: asset_content_type: application/octet-stream - name: Upload Release Assets - Signature - id: upload-release-asset uses: shogo82148/actions-upload-release-asset@v1.7.2 with: upload_url: ${{ needs.release.outputs.upload_url }} @@ -121,7 +119,6 @@ jobs: path: ./k0s - name: Upload Release Assets - Bundle - id: upload-release-asset-images uses: shogo82148/actions-upload-release-asset@v1.7.2 with: upload_url: ${{ needs.release.outputs.upload_url }} @@ -184,7 +181,6 @@ jobs: docker system prune --all --volumes --force - name: Upload Release Assets - id: upload-release-asset uses: shogo82148/actions-upload-release-asset@v1.7.2 with: upload_url: ${{ needs.release.outputs.upload_url }} @@ -193,7 +189,6 @@ jobs: asset_content_type: application/octet-stream - name: Upload Release Assets - Signature - id: upload-release-asset uses: shogo82148/actions-upload-release-asset@v1.7.2 with: upload_url: ${{ needs.release.outputs.upload_url }} @@ -272,7 +267,6 @@ jobs: path: tests/*.log - name: Upload Release Assets - Binary - id: upload-release-asset uses: shogo82148/actions-upload-release-asset@v1.7.2 with: upload_url: ${{ needs.release.outputs.upload_url }} @@ -281,7 +275,6 @@ jobs: asset_content_type: application/octet-stream - name: Upload Release Assets - Signature - id: upload-release-asset uses: shogo82148/actions-upload-release-asset@v1.7.2 with: upload_url: ${{ needs.release.outputs.upload_url }} @@ -296,7 +289,6 @@ jobs: path: ./k0s - name: Upload Release Assets - Bundle - id: upload-release-asset-images uses: shogo82148/actions-upload-release-asset@v1.7.2 with: upload_url: ${{ needs.release.outputs.upload_url }} @@ -380,7 +372,6 @@ jobs: path: tests/*.log - name: Upload Release Assets - Binary - id: upload-release-asset uses: shogo82148/actions-upload-release-asset@v1.7.2 with: upload_url: ${{ needs.release.outputs.upload_url }} @@ -389,7 +380,6 @@ jobs: asset_content_type: application/octet-stream - name: Upload Release Assets - Signature - id: upload-release-asset uses: shogo82148/actions-upload-release-asset@v1.7.2 with: upload_url: ${{ needs.release.outputs.upload_url }} @@ -404,7 +394,6 @@ jobs: path: ./k0s - name: Upload Release Assets - Bundle - id: upload-release-asset-images uses: shogo82148/actions-upload-release-asset@v1.7.2 with: upload_url: ${{ needs.release.outputs.upload_url }} @@ -537,7 +526,6 @@ jobs: make sign-pub-key - name: Upload Release Assets - SBOM - id: upload-release-asset-images uses: shogo82148/actions-upload-release-asset@v1.7.2 with: upload_url: ${{ needs.release.outputs.upload_url }} @@ -610,7 +598,6 @@ jobs: terraform apply -auto-approve - name: Create k0s Cluster using k0sctl - id: k0sctl run: | # download k0sctl curl --silent -L "https://github.com/k0sproject/k0sctl/releases/download/${K0SCTL_VERSION}/k0sctl-linux-x64" -o k0sctl