Implement Data Source Registration per ADR-0006 #542
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: using CarboneAware Github action in sample pipeline | |
# on: | |
# push: | |
# paths: | |
# - 'src/**' | |
# - '.github/workflows/**' | |
# pull_request: | |
# branches: [ dev, main ] | |
# paths: | |
# - 'src/**' | |
# jobs: | |
# build: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: CarboneAWare metrics | |
# id: carboneaware-metrics | |
# uses: Green-Software-Foundation/carbon-aware-sdk@sdkCLI-githubaction # here "sdkCLI-githubaction" is the name of the branch | |
# with: | |
# location: westeurope,francecentral,westus | |
# #config: /carbon-aware.json | |
# #fromTime: | |
# #toTime: | |
# - name: Deplpoy Workload to Selected Region | |
# run: echo deploying ML Training Job to Region "${{ steps.carboneaware-metrics.outputs.LowestEmissionsLocation}}" |