Skip to content

Commit 9f9e585

Browse files
committed
rename github actions artifacts
artifacts are now named similar to the released files.
1 parent e1d5920 commit 9f9e585

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
jobs:
1212
build:
1313
runs-on: ubuntu-latest
14+
outputs:
15+
signed-plugin-name: '${{ steps.build-signed.outputs.plugin_path }}'
16+
unsigned-plugin-name: '${{ steps.build-unsigned.outputs.plugin_path }}'
1417
steps:
1518
- uses: actions/checkout@v3
1619

@@ -49,7 +52,7 @@ jobs:
4952
- name: Upload unsigned package
5053
uses: actions/upload-artifact@v3
5154
with:
52-
name: checkmk-datasource-unsigned
55+
name: '${{ steps.build-unsigned.outputs.plugin_path }}'
5356
path: '${{ steps.build-unsigned.outputs.plugin_path }}'
5457

5558
- name: clean up repo
@@ -67,7 +70,7 @@ jobs:
6770
- name: Upload signed package
6871
uses: actions/upload-artifact@v3
6972
with:
70-
name: checkmk-datasource-signed
73+
name: '${{ steps.build-signed.outputs.plugin_path }}'
7174
path: '${{ steps.build-signed.outputs.plugin_path }}'
7275

7376
validate-plugin:
@@ -77,7 +80,7 @@ jobs:
7780
- name: Download package from build job
7881
uses: actions/download-artifact@v3
7982
with:
80-
name: checkmk-datasource-signed
83+
name: '${{ needs.build.outputs.signed-plugin-name }}'
8184

8285
- name: Setup Go environment
8386
uses: actions/setup-go@v3
@@ -104,7 +107,7 @@ jobs:
104107
- name: Download package from build job
105108
uses: actions/download-artifact@v3
106109
with:
107-
name: checkmk-datasource-unsigned
110+
name: '${{ needs.build.outputs.unsigned-plugin-name }}'
108111

109112
- name: unpack and move plugin
110113
run: |

0 commit comments

Comments
 (0)