File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 1717 default : ' false'
1818 type : choice
1919 options :
20- - ' true'
21- - ' false'
20+ - ' true'
21+ - ' false'
2222 ENV :
2323 required : true
2424 default : ' testing'
2525 type : choice
2626 options :
27- - testing
28- - staging
29- - production
27+ - testing
28+ - staging
29+ - production
3030
3131env :
3232 BRANCH : ${{ github.event.inputs.BRANCH || github.ref }}
4444 - name : Setup Node.js environment
45454646 with :
47- node-version : " 14.x"
47+ node-version : ' 14.x'
4848
4949 - name : Get yarn cache directory path
5050 id : yarn-cache-dir-path
8484 zip "netdata-datasource-${{ steps.build_environment.outputs.BUILD_VERSION }}.zip" netdata-datasource -r
8585
8686 - name : Upload artifacts
87- uses : actions/upload-artifact@v2
87+ uses : actions/upload-artifact@v4
8888 with :
8989 name : netdata-datasource-${{ steps.build_environment.outputs.BUILD_VERSION }}.zip
9090 path : ./netdata-datasource-${{ steps.build_environment.outputs.BUILD_VERSION }}.zip
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Release
33on :
44 push :
55 tags :
6- - " v*.*.*"
6+ - ' v*.*.*'
77
88jobs :
99 release :
1717 - name : Setup Node.js environment
18181919 with :
20- node-version : " 14.x"
20+ node-version : ' 14.x'
2121
2222 - name : Get yarn cache directory path
2323 id : yarn-cache-dir-path
6464 export GRAFANA_PLUGIN_TYPE=$(cat dist/plugin.json | jq -r .type)
6565 export GRAFANA_PLUGIN_ARTIFACT=${GRAFANA_PLUGIN_ID}-${GRAFANA_PLUGIN_VERSION}.zip
6666 export GRAFANA_PLUGIN_ARTIFACT_CHECKSUM=${GRAFANA_PLUGIN_ARTIFACT}.md5
67-
67+
6868 echo "plugin-id=${GRAFANA_PLUGIN_ID}" >> $GITHUB_OUTPUT
6969 echo "plugin-version=${GRAFANA_PLUGIN_VERSION}" >> $GITHUB_OUTPUT
7070 echo "plugin-type=${GRAFANA_PLUGIN_TYPE}" >> $GITHUB_OUTPUT
9191 echo "checksum=$(cat './${{ steps.metadata.outputs.archive-checksum }}' | cut -d' ' -f1)" >> $GITHUB_OUTPUT
9292
9393 - name : Upload artifacts
94- uses : actions/upload-artifact@v2
94+ uses : actions/upload-artifact@v4
9595 with :
9696 name : ${{ steps.metadata.outputs.archive }}
9797 path : ./${{ steps.metadata.outputs.archive }}
You can’t perform that action at this time.
0 commit comments