Skip to content

Commit 159cfa6

Browse files
committed
Update deprecated actions/upload-artifact version
1 parent 87a267d commit 159cfa6

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@ on:
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

3131
env:
3232
BRANCH: ${{ github.event.inputs.BRANCH || github.ref }}
@@ -44,7 +44,7 @@ jobs:
4444
- name: Setup Node.js environment
4545
uses: actions/[email protected]
4646
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
@@ -84,7 +84,7 @@ jobs:
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

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Release
33
on:
44
push:
55
tags:
6-
- "v*.*.*"
6+
- 'v*.*.*'
77

88
jobs:
99
release:
@@ -17,7 +17,7 @@ jobs:
1717
- name: Setup Node.js environment
1818
uses: actions/[email protected]
1919
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
@@ -64,7 +64,7 @@ jobs:
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
@@ -91,7 +91,7 @@ jobs:
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 }}

0 commit comments

Comments
 (0)