Check for new stable releases #178
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
# This action runs every Monday morning, scanning Google's Maven repository for updated | |
# stable packages, opening a PR to bind any new stable releases. | |
name: Check for new stable releases | |
# Runs every Monday at 06:00 UTC | |
on: | |
schedule: | |
- cron: 0 6 * * 5 | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
with: | |
ref: main | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 6.x.x | |
- name: Install dotnet-script | |
run: dotnet tool install -g dotnet-script | |
- name: Run update-config script | |
run: > | |
dotnet | |
script | |
./build/scripts/update-config.csx | |
-- | |
config.json | |
update | |
-dep:https://raw.githubusercontent.com/xamarin/GooglePlayServicesComponents/main/config.json | |
- name: Create Pull Request | |
id: cpr | |
uses: peter-evans/create-pull-request@v5 | |
with: | |
commit-message: Weekly stable updates | |
branch-suffix: timestamp | |
delete-branch: true | |
title: 'Weekly stable updates' | |
body: | | |
Update to latest stable versions of components: | |
- androidx.example.example - 1.0.0 -> 1.1.0 | |
Checklist | |
- [ ] Add any metadata needed to get PR to compile | |
- [ ] Verify any new namespaces are properly renamed (utilities.cake) | |
- [ ] Verify nuget/namespace spelling (utilities.cake) | |
- [ ] Locally generate diffs | |
- [ ] Review any breaking changes | |
- [ ] Attach diffs to PR | |
assignees: moljac | |
draft: true |