Skip to content

Update packages

Update packages #33

# name: Create device for PR
# on:
# pull_request:
# branches:
# - main
# types:
# - opened
# - reopened
# jobs:
# create-iot-hub-device:
# name: Create PR IoT Device
# runs-on: ubuntu-latest
# steps:
# - name: Create device using Azure CLI
# uses: azure/CLI@v1
# env:
# IOTHUB_ENTITY_CONNECTION_STRING: ${{ secrets.IOTHUB_ENTITY_CONNECTION_STRING }}
# with:
# inlineScript: |
# az extension add --name azure-iot
# az iot hub device-identity create \
# --device-id pr-${{ github.event.number }} \
# --am shared_private_key \
# --hub-name azure-iot-sdk-rs \
# --resource-group azure-iot-sdk-rs \
# --login "${IOTHUB_ENTITY_CONNECTION_STRING}" > /dev/null