6 Commits

Author SHA1 Message Date
661fe4dfd6 fix: release address 2025-07-20 18:56:02 +02:00
0207899f1b fix: broken path v2 2025-07-20 18:51:16 +02:00
359a1359f5 fix: broken path v2 2025-07-20 18:49:56 +02:00
62fbdf3d5a fix: broken path 2025-07-20 18:47:19 +02:00
ec02f17089 fix: compression 2025-07-20 18:44:30 +02:00
a164c0059b Update README.md 2025-07-20 18:40:49 +02:00
2 changed files with 16 additions and 9 deletions

View File

@@ -81,11 +81,13 @@ jobs:
uses: ietf-tools/semver-action@v1 uses: ietf-tools/semver-action@v1
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
branch: master branch: master # ← change to "main" if that's your default
patchAll: true # Always increment patch number patchAll: true
# fallbackTag: v0.0.1 # ← optionally bootstrap from an existing tag
- name: Create GitHub Release - name: Create GitHub Release
if: ${{ github.event.inputs.create_release != 'false' }} if: ${{ github.event.inputs.create_release != 'false' }}
id: create_release # ← this is required
uses: actions/create-release@v1 uses: actions/create-release@v1
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -95,20 +97,23 @@ jobs:
draft: false draft: false
prerelease: false prerelease: false
- name: Zip the build for github release - name: Zip the build for GitHub Release
if: ${{ github.event.inputs.create_release != 'false' }} if: ${{ github.event.inputs.create_release != 'false' }}
run: 7z a -tzip ./out/HomeScreen_Build_${{ steps.semver.outputs.next }}.zip ./out/* run: |
Compress-Archive \
-Path './output/*' \
-DestinationPath "./output/HomeScreen_Build_${{ steps.semver.outputs.next }}.zip" \
-CompressionLevel Optimal -Force
- name: Upload Release Asset - name: Upload Release Asset
if: ${{ github.event.inputs.create_release != 'false' }} if: ${{ github.event.inputs.create_release != 'false' }}
id: upload-release-asset
uses: actions/upload-release-asset@v1 uses: actions/upload-release-asset@v1
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
upload_url: ${{ steps.create_release.outputs.upload_url }} upload_url: ${{ steps.create_release.outputs.upload_url }} # ← now available
asset_path: ./out/HomeScreen_Build_"{${{ steps.semver.outputs.next }}}".zip asset_path: ./output/HomeScreen_Build_${{ steps.semver.outputs.next }}.zip
asset_name: Lunaris_${{steps.semver.outputs.patch}}.zip asset_name: HomeScreen_Build_${{ steps.semver.outputs.next }}.zip
asset_content_type: application/zip asset_content_type: application/zip
- name: Generate appsettings.json - name: Generate appsettings.json

View File

@@ -3,6 +3,8 @@ Core api and Esp32 code for displaying weather data and public transport informa
<img width="800" height="480" alt="image" src="https://github.com/user-attachments/assets/ef5af0c6-ea3a-494d-b2af-3de6e70b3e6a" /> <img width="800" height="480" alt="image" src="https://github.com/user-attachments/assets/ef5af0c6-ea3a-494d-b2af-3de6e70b3e6a" />
## Git Notes
All commits has to follow this [Conventional Commits style](https://www.conventionalcommits.org/) to pass the pipeline.
## Features 😺 ## Features 😺
- Display current weather data - Display current weather data
- Display public transport information - Display public transport information