8000 Fix #435 by barndawgie · Pull Request #436 · esphome-econet/esphome-econet · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix #435 #436

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Dec 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@ concurrency:
cancel-in-progress: true

jobs:
# Build all of the firmware variations
build:
uses: ./.github/workflows/build.yml
with:
upload-artifacts: true

# Download all of the firmware variations and consolidate the various manifests (e.g. esp32, esp8266, etc...) for each unit type (e.g. HPWH) iinto a single manifest
consolidate-manifests:
name: Consolidate ${{ matrix.appliance.shorthand }} manifests
runs-on: ubuntu-latest
Expand All @@ -45,10 +47,10 @@ jobs:
uses: actions/download-artifact@v4
with:
path: firmwares
- name: Dump Files
- name: Dump file list
run: |-
ls -R firmwares
- name: Copy files
- name: Make output directory
run: |-
mkdir output
- name: Consolidate manifests
Expand All @@ -61,30 +63,31 @@ jobs:
path: output
retention-days: 7

# Package up all of the *.json manifests and *.bin binaries into a single passage for upload to Github-Pages
consolidate:
name: Consolidate firmwares
runs-on: ubuntu-latest
needs: consolidate-manifests
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Download built firmwares
- name: Download all artifacts
uses: actions/download-artifact@v4
with:
path: firmwares
- name: Dump Files
- name: Dump file list
run: |-
ls -R firmwares
- name: Copy files
70B8 run: |-
mkdir output
cp -R firmwares/*/* output/
cp -R firmwares/*/*.json output/
cp -R firmwares/*/*/*.bin output/
ls -R output/
- name: Upload GitHub Pages artifact
- name: Upload GitHub-Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: output

# Upload the consolidated package to Github-Pages
deploy:
if: ${{ ! inputs.dry_run }}
name: Deploy to GitHub Pages
Expand Down
Loading
0