Skip to content

Commit

Permalink
Use v3 upload/download action
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelstoer committed Sep 11, 2024
1 parent fac6b96 commit 7148bc8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Prepare environment variables
run: ./export-env-vars.sh
- name: Upload artifact '.env-vars'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: env-vars
path: ./.env-vars
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
cd nodemcu-firmware
if [ "$X_BRANCH" = "dev-esp32-idf3-final" ]; then bash "$GITHUB_WORKSPACE"/ESP32/script.sh; else bash "$GITHUB_WORKSPACE"/ESP8266/script.sh; fi
- name: Upload artifacts in 'nodemcu-firmware/bin'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: bin-folder
path: nodemcu-firmware/bin
Expand All @@ -92,11 +92,11 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Download artifacts 'nodemcu-firmware/bin' from build job
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: bin-folder
- name: Download artifact '.env-vars' from build job
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: env-vars
- name: Archive binaries on nodemcu-build.com
Expand All @@ -111,7 +111,7 @@ jobs:
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
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
- name: Upload artifact '.env-vars'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: env-vars
path: ./.env-vars
Expand All @@ -125,7 +125,7 @@ jobs:
# You can get conclusion via ${{ env.WORKFLOW_CONCLUSION }} # neutral, success, skipped, cancelled, timed_out, action_required, failure
- uses: technote-space/workflow-conclusion-action@v2
- name: Download artifact '.env-vars' from build and upload jobs
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: env-vars
- name: Trigger sending success email to author
Expand Down

0 comments on commit 7148bc8

Please sign in to comment.