Skip to content

Commit ac6b2df

Browse files
committed
Improve release-artifacts job
- Name platform specific section clearly - Move to a new section platform independent artifacts (if any) and only enable the job on one canocial runner (ubuntu-latest) to fix the current duplication.
1 parent 76e26df commit ac6b2df

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/release-artifacts.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,17 @@ jobs:
6969
with:
7070
subject-path: "${{ env.BIN_NAME }}"
7171

72-
- name: Upload Release Artifacts
72+
- name: Upload Platform-Specific Binary
7373
uses: softprops/action-gh-release@6cbd405e2c4e67a21c47fa9e383d020e4e28b836 # v2.3.3
7474
with:
7575
tag_name: ${{ env.TAG_NAME }}
7676
files: |
7777
${{ env.BIN_NAME }}
78+
79+
- name: Upload Platform-Independent Artifacts
80+
if: matrix.os == 'ubuntu-latest'
81+
uses: softprops/action-gh-release@6cbd405e2c4e67a21c47fa9e383d020e4e28b836 # v2.3.3
82+
with:
83+
tag_name: ${{ env.TAG_NAME }}
84+
files: |
7885
${{ env.SCHEMA_NAME }}

0 commit comments

Comments
 (0)