Skip to content

Add changelog for 1.0.0 #122

Add changelog for 1.0.0

Add changelog for 1.0.0 #122

name: Submit dependencies
on:
push:
branches:
- main
permissions:
contents: write
jobs:
networktime:
runs-on: macos-14-xlarge
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
distribution: temurin
java-version: 17
cache: gradle
- run: .scripts/dependency_report_generate.sh -m networktime -c allSourceSetsCompileDependenciesMetadata > dependencies_networktime_raw
- run: .scripts/github/dependency_report_as_github_json.sh -i dependencies_networktime_raw -n networktime -s $(TZ=UTC date +"%Y-%m-%dT%H:%M:%SZ") -l networktime/build.gradle.kts > dependencies_networktime.github.json
- run: |
echo RESPONSE_CODE=$(curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/$GITHUB_REPOSITORY/dependency-graph/snapshots \
--data-binary "@dependencies_networktime.github.json" \
-o /dev/null \
-w '%{http_code}') >> $GITHUB_ENV
- run: |
if [[ "$RESPONSE_CODE" == "201" ]];
then
exit 0
else
echo "Dependency submission failed with HTTP code $RESPONSE_CODE"
exit 1
fi