Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f1d4a7c1bc | |||
| 485453bc7d | |||
| 661fe4dfd6 | |||
| 0207899f1b |
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
@@ -81,11 +81,13 @@ jobs:
|
||||
uses: ietf-tools/semver-action@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
branch: master
|
||||
patchAll: true # Always increment patch number
|
||||
branch: master # ← change to "main" if that's your default
|
||||
patchAll: true
|
||||
# fallbackTag: v0.0.1 # ← optionally bootstrap from an existing tag
|
||||
|
||||
- name: Create GitHub Release
|
||||
if: ${{ github.event.inputs.create_release != 'false' }}
|
||||
id: create_release # ← this is required
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
@@ -97,18 +99,17 @@ jobs:
|
||||
|
||||
- name: Zip the build for github release
|
||||
if: ${{ github.event.inputs.create_release != 'false' }}
|
||||
run: Compress-Archive -Path './output/*' -DestinationPath './out/HomeScreen_Build_${{ steps.semver.outputs.next }}.zip' -CompressionLevel Optimal -Force
|
||||
run: Compress-Archive -Path './output/*' -DestinationPath './output/HomeScreen_Build_${{ steps.semver.outputs.next }}.zip' -CompressionLevel Optimal -Force
|
||||
|
||||
- name: Upload Release Asset
|
||||
if: ${{ github.event.inputs.create_release != 'false' }}
|
||||
id: upload-release-asset
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }} # ← now available
|
||||
asset_path: ./output/HomeScreen_Build_${{ steps.semver.outputs.next }}.zip
|
||||
asset_name: HomeScreen_Build_${{steps.semver.outputs.patch}}.zip
|
||||
asset_name: HomeScreen_Build_${{ steps.semver.outputs.next }}.zip
|
||||
asset_content_type: application/zip
|
||||
|
||||
- name: Generate appsettings.json
|
||||
|
||||
13
README.md
13
README.md
@@ -1,5 +1,12 @@
|
||||
# This [](https://github.com/Myxelium/HomeScreen/actions/workflows/build.yml)
|
||||
Core api and Esp32 code for displaying weather data and public transport information on a e-ink display.
|
||||
[](https://github.com/myxelium/homescreen "Go to GitHub repo")
|
||||
[](https://github.com/myxelium/homescreen)
|
||||
[](https://github.com/myxelium/homescreen)
|
||||
[](https://github.com/myxelium/homescreen/releases/)
|
||||
[](https://www.gnu.org/licenses/gpl-3.0.en.html)
|
||||
[](https://github.com/myxelium/homescreen/issues)
|
||||
[](https://github.com/Myxelium/HomeScreen/actions/workflows/build.yml)
|
||||
# This
|
||||
Core api and Esp32 (Micro Controller) code for displaying weather data and public transport information on a e-ink display.
|
||||
|
||||
<img width="800" height="480" alt="image" src="https://github.com/user-attachments/assets/ef5af0c6-ea3a-494d-b2af-3de6e70b3e6a" />
|
||||
|
||||
@@ -92,7 +99,7 @@ end
|
||||
API[HomeControllerAPI]
|
||||
API -->|MediatR| Handlers
|
||||
Handlers -->|Service Calls| Services
|
||||
Services -->|Refit Clients| Clients
|
||||
Services -->|Refit Http Clients| Clients
|
||||
Clients -->|External APIs| ExtAPIs
|
||||
API -->|Returns JSON/JPEG| ESP
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user