1- name : Check for new core technologies
1+ name : Dotty - Check for new core technologies
22
33on :
44 schedule :
@@ -21,7 +21,7 @@ permissions:
2121 contents : read
2222
2323jobs :
24- nuget-slack-notifications :
24+ run-dotty :
2525 name : Check for core technology package updates
2626 runs-on : ubuntu-latest
2727 permissions :
3030 continue-on-error : false
3131
3232 env :
33- scan-tool- path : ${{ github.workspace }}/.github/workflows/scripts/nugetSlackNotifications
34- scan-tool -publish-path : ${{ github.workspace }}/publish
33+ dotty- path : ${{ github.workspace }}/build/Dotty
34+ dotty -publish-path : ${{ github.workspace }}/publish
3535
3636 steps :
3737 - name : Harden Runner
@@ -44,28 +44,28 @@ jobs:
4444 with :
4545 fetch-depth : 0
4646
47- - name : Add agent via nuget and then build the tool
47+ - name : Add agent via nuget and then build Dotty
4848 run : |
49- cd ${{ env.scan-tool -path }}
50- dotnet add nugetSlackNotifications .csproj package NewRelic.Agent
51- dotnet publish -o ${{ env.scan-tool -publish-path }}
49+ cd ${{ env.dotty -path }}
50+ dotnet add Dotty .csproj package NewRelic.Agent
51+ dotnet publish -o ${{ env.dotty -publish-path }}
5252
5353 - name : Find timestamp of most recent run of this workflow and set as an environment variable
5454 if : inputs.daysToSearch == '0' || github.event_name == 'schedule'
5555 env :
5656 GH_TOKEN : ${{ github.token }}
5757 run : |
58- echo "LAST_RUN_TIMESTAMP=$(gh run list --workflow nuget_slack_notifications .yml --branch main --status completed --limit 1 --json updatedAt | jq -r '.[0].updatedAt')" >> $GITHUB_ENV
58+ echo "LAST_RUN_TIMESTAMP=$(gh run list --workflow dotty .yml --branch main --status completed --limit 1 --json updatedAt | jq -r '.[0].updatedAt')" >> $GITHUB_ENV
5959 shell : bash
6060
6161 - name : Check for updates to core technology packages
6262 env :
6363 DOTTY_WEBHOOK : ${{ secrets.SLACK_NUGET_NOTIFICATIONS_WEBHOOK }}
6464 DOTTY_TOKEN : ${{ secrets.DOTNET_AGENT_GH_TOKEN }}
6565 CORECLR_ENABLE_PROFILING : 1
66- CORECLR_NEW_RELIC_HOME : ${{ env.scan-tool -publish-path }}/newrelic
66+ CORECLR_NEW_RELIC_HOME : ${{ env.dotty -publish-path }}/newrelic
6767 CORECLR_PROFILER : " {36032161-FFC0-4B61-B559-F6C5D41BAE5A}"
68- CORECLR_PROFILER_PATH : ${{ env.scan-tool -publish-path }}/newrelic/libNewRelicProfiler.so
68+ CORECLR_PROFILER_PATH : ${{ env.dotty -publish-path }}/newrelic/libNewRelicProfiler.so
6969 NEW_RELIC_APP_NAME : Dotty
7070 NEW_RELIC_HOST : staging-collector.newrelic.com
7171 NEW_RELIC_LICENSE_KEY : ${{ secrets.STAGING_LICENSE_KEY }}
7979 if [ "${{ inputs.testMode }}" == "true" ]; then
8080 export DOTTY_TEST_MODE="True"
8181 fi
82- cd ${{ env.scan-tool -publish-path }}
83- dotnet ./nugetSlackNotifications .dll
82+ cd ${{ env.dotty -publish-path }}
83+ dotnet ./Dotty .dll
8484 shell : bash
8585
0 commit comments