diff --git a/.github/actions/dotnet/action.yml b/.github/actions/dotnet/action.yml deleted file mode 100644 index c876ae3..0000000 --- a/.github/actions/dotnet/action.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: ⚙ dotnet -description: Configures dotnet if the repo/org defines the DOTNET custom property - -runs: - using: composite - steps: - - name: 🔎 dotnet - id: dotnet - shell: bash - run: | - VERSIONS=$(gh api repos/${{ github.repository }}/properties/values | jq -r '.[] | select(.property_name == "DOTNET") | .value') - # Remove extra whitespace from VERSIONS - VERSIONS=$(echo "$VERSIONS" | tr -s ' ' | tr -d ' ') - # Convert comma-separated to newline-separated - NEWLINE_VERSIONS=$(echo "$VERSIONS" | tr ',' '\n') - # Validate versions - while IFS= read -r version; do - if ! [[ $version =~ ^[0-9]+(\.[0-9]+(\.[0-9]+)?)?(\.x)?$ ]]; then - echo "Error: Invalid version format: $version" - exit 1 - fi - done <<< "$NEWLINE_VERSIONS" - # Write multiline output to $GITHUB_OUTPUT - { - echo 'versions<> $GITHUB_OUTPUT - - - name: ⚙ dotnet - if: steps.dotnet.outputs.versions != '' - uses: actions/setup-dotnet@v4 - with: - dotnet-version: | - ${{ steps.dotnet.outputs.versions }} diff --git a/.netconfig b/.netconfig index 07e5173..743011f 100644 --- a/.netconfig +++ b/.netconfig @@ -29,10 +29,7 @@ weak [file ".github/actions/dotnet/action.yml"] url = https://github.com/devlooped/oss/blob/main/.github/actions/dotnet/action.yml - sha = f2b690ce307acb76c5b8d7faec1a5b971a93653e - - etag = 27ea11baa2397b3ec9e643a935832da97719c4e44215cfd135c49cad4c29373f - weak + skip [file ".github/dependabot.yml"] url = https://github.com/devlooped/oss/blob/main/.github/dependabot.yml sha = e733294084fb3e75d517a2e961e87df8faae7dc6