Skip to content

Commit

Permalink
Consolidate Files
Browse files Browse the repository at this point in the history
  • Loading branch information
TrevorSchirmer committed Nov 7, 2024
1 parent 50afffc commit 4164d46
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 21 deletions.
27 changes: 7 additions & 20 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,10 @@ jobs:
name: Publish to GitHub Pages and Create Release
runs-on: ubuntu-latest
needs:
- check-for-yaml
- read-version
- build-site
- build-firmware
- build-firmware-b
if: needs.check-for-yaml.outputs.yaml_changed == 'true'
if: needs.check-for-yaml.outputs.yaml_changed == 'true' && ${{ github.run_attempt == 1 }}
permissions:
contents: write
pages: write
Expand All @@ -131,11 +130,11 @@ jobs:
- uses: actions/[email protected]
with:
name: firmware
path: firmware
path: ./consolidated_artifacts/firmware
- uses: actions/[email protected]
with:
name: firmware-b
path: firmware-b
path: ./consolidated_artifacts/firmware-b

# Get the last merged PR's body for the release notes
- name: Fetch Last Merged PR Body
Expand Down Expand Up @@ -166,21 +165,9 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
for file in $(find firmware -type f); do
filename=$(basename "$file")
echo "Uploading $filename from firmware directory"
gh release upload "${{ steps.create_release.outputs.upload_url }}" "$file" --clobber --repo ${{ github.repository }} --name "$filename"
done
# Upload each file in firmware-b folder
- name: Upload Firmware-B Files to Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
for file in $(find firmware-b -type f); do
filename=$(basename "$file")
echo "Uploading $filename from firmware-b directory"
gh release upload "${{ steps.create_release.outputs.upload_url }}" "$file" --clobber --repo ${{ github.repository }} --name "$filename"
for file in $(find ./consolidated_artifacts -type f); do
echo "Uploading $(basename "$file")"
gh release upload "${{ steps.create_release.outputs.upload_url }}" "$file" --clobber --repo ${{ github.repository }}
done
- uses: actions/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion Integrations/ESPHome/Core.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
substitutions:
version: "24.11.6.5"
version: "24.11.6.6"

esp32:
board: esp32-c3-devkitm-1
Expand Down

0 comments on commit 4164d46

Please sign in to comment.