Skip to content

Commit 3aa1daa

Browse files
devlooped-botkzu
authored andcommitted
⬆️ Bump files with dotnet-file sync
# devlooped/oss - feat: add validation step to check for disallowed package versions in publish workflow devlooped/oss@0ca5fd1 - Update cron schedule in triage workflow devlooped/oss@5ee8c91
1 parent 40067b3 commit 3aa1daa

4 files changed

Lines changed: 71 additions & 18 deletions

File tree

.github/workflows/publish.yml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ on:
1010
env:
1111
DOTNET_NOLOGO: true
1212
Configuration: Release
13-
VersionLabel: ${{ github.ref }}
13+
PackOnBuild: true
14+
GeneratePackageOnBuild: true
15+
VersionLabel: refs/tags/${{ github.event.release.tag_name }}
1416
GH_TOKEN: ${{ secrets.GH_TOKEN }}
1517
MSBUILDTERMINALLOGGER: auto
1618
SLEET_FEED_URL: https://api.nuget.org/v3/index.json
@@ -32,16 +34,8 @@ jobs:
3234
run: dotnet build -m:1 -bl:build.binlog
3335

3436
- name: 🧪 test
35-
run: dnx --yes retest -- --no-build
36-
37-
- name: 🙏 publish
3837
shell: pwsh
39-
run: |
40-
$rids = dotnet msbuild src/go/go.csproj -getproperty:RuntimeIdentifiers
41-
$rids | %{ $_.Split(';') } | %{ $_.Trim() } | ? { $_ } | %{ dotnet publish src/go/go.csproj -r $_ }
42-
43-
- name: 📦 pack
44-
run: dotnet pack src/go/go.csproj --no-build -m:1 -bl:pack.binlog
38+
run: dnx --yes retest -- --no-build
4539

4640
- name: 🐛 logs
4741
uses: actions/upload-artifact@v4
@@ -50,6 +44,16 @@ jobs:
5044
name: logs
5145
path: '*.binlog'
5246

47+
- name: ✅ validate
48+
shell: pwsh
49+
working-directory: bin
50+
run: |
51+
$invalid = Get-ChildItem -File -Filter "*.42.42*.nupkg"
52+
if ($invalid) {
53+
Write-Error "Found dev/local packages with disallowed 42.42* version prefix:`n$($invalid.Name -join "`n")"
54+
exit 1
55+
}
56+
5357
- name: 🚀 nuget
5458
env:
5559
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
@@ -63,4 +67,4 @@ jobs:
6367
if: env.SLEET_CONNECTION != ''
6468
run: |
6569
dotnet tool update sleet -g --allow-downgrade --version $(curl -s --compressed ${{ vars.SLEET_FEED_URL }} | jq '.["sleet:version"]' -r)
66-
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"
70+
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"

.github/workflows/triage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: 'triage'
22
on:
33
schedule:
4-
- cron: '42 0 * * *'
4+
- cron: '42 0 1,15 * *'
55

66
workflow_dispatch:
77
# Manual triggering through the GitHub UI, API, or CLI
@@ -104,4 +104,4 @@ jobs:
104104
closeDays: ${{ fromJson(inputs.daysBeforeClose || 30) }}
105105
closeComment: "This issue has been closed automatically because it needs more information and has not had recent activity.\n\nHappy Coding!"
106106
pingDays: 80
107-
pingComment: "Hey @${assignee}, this issue might need further attention.\n\n@${author}, you can help us out by closing this issue if the problem no longer exists, or adding more information."
107+
pingComment: "Hey @${assignee}, this issue might need further attention.\n\n@${author}, you can help us out by closing this issue if the problem no longer exists, or adding more information."

.netconfig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,13 @@
8989
weak
9090
[file ".github/workflows/publish.yml"]
9191
url = https://github.com/devlooped/oss/blob/main/.github/workflows/publish.yml
92-
sha = b62978b0d1ebaf593ddc86cf590c732353e99929
93-
etag = 32d3314290f3dae1cac7f601c8d91c5c8f50b2423f85bdc4e52d2bfa78253770
92+
sha = 0ca5fd11125cd10c51b4433a86917c06ff1ae839
93+
etag = ac46ffdcef820bbc6bd32378aef25ff79713196e0a5696791abb3a804e06e4d8
9494
weak
9595
[file ".github/workflows/triage.yml"]
9696
url = https://github.com/devlooped/oss/blob/main/.github/workflows/triage.yml
97-
sha = 61a602fc61eedbdae235f01e93657a6219ac2427
98-
etag = 152cd3a559c08da14d1da12a5262ba1d2e0ed6bed6d2eabf5bd209b0c35d8a75
97+
sha = 5ee8c91c8d9e8c0ee739fe1ec877f36c15a4aff0
98+
etag = b19dc36058fc7d385cb5795c9e0860c11b9d027c57cb2a5e6a112e692c6884c1
9999
weak
100100
[file ".gitignore"]
101101
url = https://github.com/devlooped/oss/blob/main/.gitignore

readme.md

Lines changed: 50 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,58 @@
66
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/devlooped/oss/blob/main/license.txt)
77

88
<!-- include https://github.com/devlooped/.github/raw/main/osmf.md -->
9+
## Open Source Maintenance Fee
10+
11+
To ensure the long-term sustainability of this project, users of this package who generate
12+
revenue must pay an [Open Source Maintenance Fee](https://opensourcemaintenancefee.org).
13+
While the source code is freely available under the terms of the [License](license.txt),
14+
this package and other aspects of the project require [adherence to the Maintenance Fee](osmfeula.txt).
15+
16+
To pay the Maintenance Fee, [become a Sponsor](https://github.com/sponsors/devlooped) at the proper
17+
OSMF tier. A single fee covers all of [Devlooped packages](https://www.nuget.org/profiles/Devlooped).
18+
19+
<!-- https://github.com/devlooped/.github/raw/main/osmf.md -->
920
<!-- #content -->
1021
## Usage
1122
*go*
1223
<!-- #content -->
1324
---
14-
<!-- include https://github.com/devlooped/sponsors/raw/main/footer.md -->
25+
<!-- include https://github.com/devlooped/sponsors/raw/main/footer.md -->
26+
# Sponsors
27+
28+
<!-- sponsors.md -->
29+
[![Clarius Org](https://avatars.githubusercontent.com/u/71888636?v=4&s=39 "Clarius Org")](https://github.com/clarius)
30+
[![MFB Technologies, Inc.](https://avatars.githubusercontent.com/u/87181630?v=4&s=39 "MFB Technologies, Inc.")](https://github.com/MFB-Technologies-Inc)
31+
[![SandRock](https://avatars.githubusercontent.com/u/321868?u=99e50a714276c43ae820632f1da88cb71632ec97&v=4&s=39 "SandRock")](https://github.com/sandrock)
32+
[![DRIVE.NET, Inc.](https://avatars.githubusercontent.com/u/15047123?v=4&s=39 "DRIVE.NET, Inc.")](https://github.com/drivenet)
33+
[![Keith Pickford](https://avatars.githubusercontent.com/u/16598898?u=64416b80caf7092a885f60bb31612270bffc9598&v=4&s=39 "Keith Pickford")](https://github.com/Keflon)
34+
[![Thomas Bolon](https://avatars.githubusercontent.com/u/127185?u=7f50babfc888675e37feb80851a4e9708f573386&v=4&s=39 "Thomas Bolon")](https://github.com/tbolon)
35+
[![Kori Francis](https://avatars.githubusercontent.com/u/67574?u=3991fb983e1c399edf39aebc00a9f9cd425703bd&v=4&s=39 "Kori Francis")](https://github.com/kfrancis)
36+
[![Reuben Swartz](https://avatars.githubusercontent.com/u/724704?u=2076fe336f9f6ad678009f1595cbea434b0c5a41&v=4&s=39 "Reuben Swartz")](https://github.com/rbnswartz)
37+
[![Jacob Foshee](https://avatars.githubusercontent.com/u/480334?v=4&s=39 "Jacob Foshee")](https://github.com/jfoshee)
38+
[![](https://avatars.githubusercontent.com/u/33566379?u=bf62e2b46435a267fa246a64537870fd2449410f&v=4&s=39 "")](https://github.com/Mrxx99)
39+
[![Eric Johnson](https://avatars.githubusercontent.com/u/26369281?u=41b560c2bc493149b32d384b960e0948c78767ab&v=4&s=39 "Eric Johnson")](https://github.com/eajhnsn1)
40+
[![Jonathan ](https://avatars.githubusercontent.com/u/5510103?u=98dcfbef3f32de629d30f1f418a095bf09e14891&v=4&s=39 "Jonathan ")](https://github.com/Jonathan-Hickey)
41+
[![Ken Bonny](https://avatars.githubusercontent.com/u/6417376?u=569af445b6f387917029ffb5129e9cf9f6f68421&v=4&s=39 "Ken Bonny")](https://github.com/KenBonny)
42+
[![Simon Cropp](https://avatars.githubusercontent.com/u/122666?v=4&s=39 "Simon Cropp")](https://github.com/SimonCropp)
43+
[![agileworks-eu](https://avatars.githubusercontent.com/u/5989304?v=4&s=39 "agileworks-eu")](https://github.com/agileworks-eu)
44+
[![Zheyu Shen](https://avatars.githubusercontent.com/u/4067473?v=4&s=39 "Zheyu Shen")](https://github.com/arsdragonfly)
45+
[![Vezel](https://avatars.githubusercontent.com/u/87844133?v=4&s=39 "Vezel")](https://github.com/vezel-dev)
46+
[![ChilliCream](https://avatars.githubusercontent.com/u/16239022?v=4&s=39 "ChilliCream")](https://github.com/ChilliCream)
47+
[![4OTC](https://avatars.githubusercontent.com/u/68428092?v=4&s=39 "4OTC")](https://github.com/4OTC)
48+
[![domischell](https://avatars.githubusercontent.com/u/66068846?u=0a5c5e2e7d90f15ea657bc660f175605935c5bea&v=4&s=39 "domischell")](https://github.com/DominicSchell)
49+
[![Adrian Alonso](https://avatars.githubusercontent.com/u/2027083?u=129cf516d99f5cb2fd0f4a0787a069f3446b7522&v=4&s=39 "Adrian Alonso")](https://github.com/adalon)
50+
[![torutek](https://avatars.githubusercontent.com/u/33917059?v=4&s=39 "torutek")](https://github.com/torutek)
51+
[![Ryan McCaffery](https://avatars.githubusercontent.com/u/16667079?u=c0daa64bb5c1b572130e05ae2b6f609ecc912d4d&v=4&s=39 "Ryan McCaffery")](https://github.com/mccaffers)
52+
[![Seika Logiciel](https://avatars.githubusercontent.com/u/2564602?v=4&s=39 "Seika Logiciel")](https://github.com/SeikaLogiciel)
53+
[![Andrew Grant](https://avatars.githubusercontent.com/devlooped-user?s=39 "Andrew Grant")](https://github.com/wizardness)
54+
[![eska-gmbh](https://avatars.githubusercontent.com/devlooped-team?s=39 "eska-gmbh")](https://github.com/eska-gmbh)
55+
[![Geodata AS](https://avatars.githubusercontent.com/u/5946299?v=4&s=39 "Geodata AS")](https://github.com/geodata-no)
56+
57+
58+
<!-- sponsors.md -->
59+
[![Sponsor this project](https://avatars.githubusercontent.com/devlooped-sponsor?s=118 "Sponsor this project")](https://github.com/sponsors/devlooped)
60+
61+
[Learn more about GitHub Sponsors](https://github.com/sponsors)
62+
63+
<!-- https://github.com/devlooped/sponsors/raw/main/footer.md -->

0 commit comments

Comments
 (0)