geo coordinates seem to be optional #16
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: .NET | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: 6.0.x | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Publish ora2mqtt Windows | |
run: dotnet publish -c release -r win-x64 --sc ora2mqtt/ora2mqtt.csproj | |
- name: Publish ora2mqtt Linux | |
run: dotnet publish -c release -r linux-x64 --sc ora2mqtt/ora2mqtt.csproj | |
- name: Publish ora2mqtt Linux ARM | |
run: dotnet publish -c release -r linux-arm --sc ora2mqtt/ora2mqtt.csproj | |
- name: Publish ora2mqtt Linux ARM64 | |
run: dotnet publish -c release -r linux-arm64 --sc ora2mqtt/ora2mqtt.csproj | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: ora2mqtt-win-x64 | |
path: ora2mqtt/bin/release/net6.0/win-x64/publish | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: ora2mqtt-linux-x64 | |
path: ora2mqtt/bin/release/net6.0/linux-x64/publish | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: ora2mqtt-linux-arm | |
path: ora2mqtt/bin/release/net6.0/linux-arm/publish | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: ora2mqtt-linux-arm64 | |
path: ora2mqtt/bin/release/net6.0/linux-arm64/publish |