File tree 5 files changed +54
-2
lines changed
custom_components/open_meteo_solar_forecast
5 files changed +54
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on :
4
+ release :
5
+ types : [published]
6
+
7
+ jobs :
8
+ release_zip_file :
9
+ name : Prepare release asset
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - name : Check out repository
13
+ uses : actions/checkout@v2
14
+
15
+ # Pack the open_meteo_solar_forecast dir as a zip and upload to the release
16
+ - name : ZIP open_meteo_solar_forecast Dir
17
+ run : |
18
+ cd ${{ github.workspace }}/custom_components/open_meteo_solar_forecast
19
+ zip open_meteo_solar_forecast.zip -r ./
20
+ - name : Upload zip to release
21
+ uses : svenstaro/upload-release-action@v1-release
22
+ with :
23
+ repo_token : ${{ secrets.GITHUB_TOKEN }}
24
+ file : ${{ github.workspace }}/custom_components/open_meteo_solar_forecast/open_meteo_solar_forecast.zip
25
+ asset_name : open_meteo_solar_forecast.zip
26
+ tag : ${{ github.ref }}
27
+ overwrite : true
Original file line number Diff line number Diff line change
1
+ name : Validate
2
+
3
+ on :
4
+ push :
5
+ pull_request :
6
+ schedule :
7
+ - cron : " 0 0 * * *"
8
+
9
+ jobs :
10
+ validate :
11
+ runs-on : " ubuntu-latest"
12
+ steps :
13
+ - uses : " actions/checkout@v2"
14
+ - name : HACS validation
15
+ uses : " hacs/action@main"
16
+ with :
17
+ category : " integration"
Original file line number Diff line number Diff line change 7
7
"integration_type" : " service" ,
8
8
"iot_class" : " cloud_polling" ,
9
9
"requirements" : [" open_meteo_solar_forecast==0.1.13" ],
10
- "version" : " 0.1.8"
10
+ "version" : " 0.1.9" ,
11
+ "issue_tracker" : " https://github.com/rany2/ha-open-meteo-solar-forecast/issues" ,
12
+ "documentation" : " https://github.com/rany2/ha-open-meteo-solar-forecast"
11
13
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " Open-Meteo Solar Forecast" ,
3
3
"render_readme" : false ,
4
- "homeassistant" : " 2022.11"
4
+ "homeassistant" : " 2022.11" ,
5
+ "zip_release" : true ,
6
+ "filename" : " open_meteo_solar_forecast.zip"
5
7
}
Original file line number Diff line number Diff line change 1
1
### Changes
2
2
3
+ v0.1.9
4
+
5
+ - Switched to using GitHub releases.
6
+
3
7
v0.1.8
4
8
5
9
- Fix ` TypeError: unsupported operand type(s) for *: ‘NoneType’ and ‘int’ ` bug.
You can’t perform that action at this time.
0 commit comments