Skip to content

Commit d936394

Browse files
devlooped-botkzu
authored andcommitted
⬆️ Bump files with dotnet-file sync
# devlooped/oss - Ignore errors creating the PR devlooped/oss@b97b8f1 - Move format check for last devlooped/oss@7db501b - Make build matrix configurable per-repo devlooped/oss@391da5e
1 parent 877edec commit d936394

4 files changed

Lines changed: 38 additions & 20 deletions

File tree

.github/workflows/build.yml

Lines changed: 31 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,30 +23,29 @@ defaults:
2323
shell: bash
2424

2525
jobs:
26-
dotnet-format:
26+
os:
2727
runs-on: ubuntu-latest
28+
outputs:
29+
os: ${{ steps.os.outputs.os }}
2830
steps:
2931
- name: 🤘 checkout
3032
uses: actions/checkout@v2
31-
with:
32-
submodules: recursive
33-
fetch-depth: 0
34-
35-
- name: ⚙ dotnet
36-
uses: actions/setup-dotnet@v1
37-
with:
38-
dotnet-version: '6.0.x'
39-
40-
- name: ✓ ensure format
41-
run: dotnet format --verify-no-changes -v:diag --exclude ~/.nuget
33+
34+
- name: 🔎 os
35+
id: os
36+
shell: pwsh
37+
run: |
38+
$path = './.github/workflows/os-matrix.json'
39+
$os = if (test-path $path) { cat $path } else { '["ubuntu-latest"]' }
40+
echo "::set-output name=os::$os"
4241
4342
build:
43+
needs: os
4444
name: build-${{ matrix.os }}
45-
needs: dotnet-format
4645
runs-on: ${{ matrix.os }}
4746
strategy:
4847
matrix:
49-
os: [windows-latest, ubuntu-latest, macOS-latest]
48+
os: ${{ fromJSON(needs.os.outputs.os) }}
5049
steps:
5150
- name: 🤘 checkout
5251
uses: actions/checkout@v2
@@ -83,3 +82,21 @@ jobs:
8382
run: |
8483
dotnet tool install -g --version 4.0.18 sleet
8584
sleet push bin --config none -f --verbose -p "SLEET_FEED_CONTAINER=nuget" -p "SLEET_FEED_CONNECTIONSTRING=${{ secrets.SLEET_CONNECTION }}" -p "SLEET_FEED_TYPE=azure" || echo "No packages found"
85+
86+
dotnet-format:
87+
runs-on: ubuntu-latest
88+
needs: build
89+
steps:
90+
- name: 🤘 checkout
91+
uses: actions/checkout@v2
92+
with:
93+
submodules: recursive
94+
fetch-depth: 0
95+
96+
- name: ⚙ dotnet
97+
uses: actions/setup-dotnet@v1
98+
with:
99+
dotnet-version: '6.0.x'
100+
101+
- name: ✓ ensure format
102+
run: dotnet format --verify-no-changes -v:diag --exclude ~/.nuget

.github/workflows/dotnet-file.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ jobs:
7070

7171
- name: ✍ pull request
7272
uses: peter-evans/create-pull-request@v3
73+
continue-on-error: true
7374
with:
7475
base: main
7576
branch: dotnet-file-sync

.netconfig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
skip
4848
[file ".github/workflows/build.yml"]
4949
url = https://github.com/devlooped/oss/blob/main/.github/workflows/build.yml
50-
sha = e19ed3228a0ac7f64a43197241a788fb224a683f
51-
etag = 4e65025ab77d15766520234d3a9953ff4f1eea91620e1080f10909de19804877
50+
sha = 391da5ef9fd53167f053600239ab79f5f5030d51
51+
etag = 118c1f063f38a157a458337f61dee7a74cb58a3d7960df5566af7d8a24f64206
5252
weak
5353
[file ".github/workflows/changelog.yml"]
5454
url = https://github.com/devlooped/oss/blob/main/.github/workflows/changelog.yml
@@ -57,8 +57,8 @@
5757
weak
5858
[file ".github/workflows/dotnet-file.yml"]
5959
url = https://github.com/devlooped/oss/blob/main/.github/workflows/dotnet-file.yml
60-
sha = aed791a3a35919e3088cd2bde604cbae6f47b393
61-
etag = 0f7649805f5e84fba5104339bfd0c21ac4747b65186b16eab39f863e2db7a3e1
60+
sha = b97b8f19569fa1b93cece4b22afab0e838693c5a
61+
etag = a9d246d40ee9cf9796fe694835b787cba415f4f23e919c6a763dd3ebfa607681
6262
weak
6363
[file ".github/workflows/publish.yml"]
6464
url = https://github.com/devlooped/oss/blob/main/.github/workflows/publish.yml

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,9 +358,9 @@ The versioning scheme for packages is:
358358
[![C. Augusto Proiete](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/augustoproiete.png "C. Augusto Proiete")](https://github.com/augustoproiete)
359359
[![Kirill Osenkov](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/KirillOsenkov.png "Kirill Osenkov")](https://github.com/KirillOsenkov)
360360
[![MFB Technologies, Inc.](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/MFB-Technologies-Inc.png "MFB Technologies, Inc.")](https://github.com/MFB-Technologies-Inc)
361-
[![Amazon Web Services](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/aws.png "Amazon Web Services")](https://github.com/aws)
362361
[![SandRock](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/sandrock.png "SandRock")](https://github.com/sandrock)
363-
[![David Pallmann](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/davidpallmann.png "David Pallmann")](https://github.com/davidpallmann)
362+
[![Eric C](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/eeseewy.png "Eric C")](https://github.com/eeseewy)
363+
[![Andy Gocke](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/agocke.png "Andy Gocke")](https://github.com/agocke)
364364

365365

366366
<!-- sponsors.md -->

0 commit comments

Comments
 (0)