58
58
name : nf-python-plugin
59
59
path : |
60
60
build/plugins/nf-python-*.zip
61
- - name : Archive plugin artifacts
62
- uses : actions/upload-artifact@v4
63
- with :
64
- name : nf-python-plugin-metadata
65
- path : |
66
- build/libs/nf-python-*-meta.json
67
61
68
62
release :
69
63
needs : build-plugin
77
71
with :
78
72
name : nf-python-plugin
79
73
path : build/plugins/
80
- - name : Download plugin artifact
81
- uses : actions/download-artifact@v4
82
- with :
83
- name : nf-python-plugin-metadata
84
- path : build/libs/
85
74
- name : Get release info
86
75
id : get_release
87
76
uses : actions/github-script@v7
@@ -105,11 +94,6 @@ jobs:
105
94
filename=$(basename $file)
106
95
echo "file=$file" >> $GITHUB_OUTPUT
107
96
echo "filename=$filename" >> $GITHUB_OUTPUT
108
-
109
- metafile=$(ls build/libs/nf-python-*-meta.json | head -n1)
110
- metafilename=$(basename $metafile)
111
- echo "metafile=$metafile" >> $GITHUB_OUTPUT
112
- echo "metafilename=$metafilename" >> $GITHUB_OUTPUT
113
97
- name : Upload plugin zip to release
114
98
uses : actions/upload-release-asset@v1
115
99
env :
@@ -119,12 +103,3 @@ jobs:
119
103
asset_path : ${{ steps.find_zip.outputs.file }}
120
104
asset_name : ${{ steps.find_zip.outputs.filename }}
121
105
asset_content_type : application/zip
122
- - name : Upload plugin zip to release
123
- uses : actions/upload-release-asset@v1
124
- env :
125
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
126
- with :
127
- upload_url : ${{ steps.get_release.outputs.upload_url }}
128
- asset_path : ${{ steps.find_zip.outputs.metafile }}
129
- asset_name : ${{ steps.find_zip.outputs.metafilename }}
130
- asset_content_type : application/json
0 commit comments