Skip to content

Commit 7148bc8

Browse files
committed
Use v3 upload/download action
1 parent fac6b96 commit 7148bc8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Prepare environment variables
3030
run: ./export-env-vars.sh
3131
- name: Upload artifact '.env-vars'
32-
uses: actions/upload-artifact@v2
32+
uses: actions/upload-artifact@v3
3333
with:
3434
name: env-vars
3535
path: ./.env-vars
@@ -81,7 +81,7 @@ jobs:
8181
cd nodemcu-firmware
8282
if [ "$X_BRANCH" = "dev-esp32-idf3-final" ]; then bash "$GITHUB_WORKSPACE"/ESP32/script.sh; else bash "$GITHUB_WORKSPACE"/ESP8266/script.sh; fi
8383
- name: Upload artifacts in 'nodemcu-firmware/bin'
84-
uses: actions/upload-artifact@v2
84+
uses: actions/upload-artifact@v3
8585
with:
8686
name: bin-folder
8787
path: nodemcu-firmware/bin
@@ -92,11 +92,11 @@ jobs:
9292
runs-on: ubuntu-20.04
9393
steps:
9494
- name: Download artifacts 'nodemcu-firmware/bin' from build job
95-
uses: actions/download-artifact@v2
95+
uses: actions/download-artifact@v3
9696
with:
9797
name: bin-folder
9898
- name: Download artifact '.env-vars' from build job
99-
uses: actions/download-artifact@v2
99+
uses: actions/download-artifact@v3
100100
with:
101101
name: env-vars
102102
- name: Archive binaries on nodemcu-build.com
@@ -111,7 +111,7 @@ jobs:
111111
curl --connect-timeout 10 --max-time 120 --retry 5 --retry-delay 10 -F token=$TOKEN -F file=@$file_name_float https://nodemcu-build.com/archiver.php
112112
curl --connect-timeout 10 --max-time 120 --retry 5 --retry-delay 10 -F token=$TOKEN -F file=@$file_name_integer https://nodemcu-build.com/archiver.php
113113
- name: Upload artifact '.env-vars'
114-
uses: actions/upload-artifact@v2
114+
uses: actions/upload-artifact@v3
115115
with:
116116
name: env-vars
117117
path: ./.env-vars
@@ -125,7 +125,7 @@ jobs:
125125
# You can get conclusion via ${{ env.WORKFLOW_CONCLUSION }} # neutral, success, skipped, cancelled, timed_out, action_required, failure
126126
- uses: technote-space/workflow-conclusion-action@v2
127127
- name: Download artifact '.env-vars' from build and upload jobs
128-
uses: actions/download-artifact@v2
128+
uses: actions/download-artifact@v3
129129
with:
130130
name: env-vars
131131
- name: Trigger sending success email to author

0 commit comments

Comments
 (0)