Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/includes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
token: ${{ env.PR_TOKEN || github.token }}

- name: +Mᐁ includes
uses: devlooped/actions-includes@v1
uses: devlooped/actions-includes@v2

- name: 📝 OSMF EULA
shell: pwsh
Expand Down
31 changes: 11 additions & 20 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,13 @@ name: publish
on:
release:
types: [prereleased, released]
workflow_dispatch:
inputs:
configuration:
type: choice
description: Configuration
options:
- Release
- Debug
sha:
description: 'Optional commit to deploy (latest if empty)'
version:
description: 'SemVer version to use (0.1.0-preview.[build] if empty)'

env:
DOTNET_NOLOGO: true
Configuration: Release
PackOnBuild: true
GeneratePackageOnBuild: true
VersionLabel: ${{ github.ref }}
VersionOrTag: ${{ github.event.inputs.version || github.event.release.tag_name || format('0.1.0-preview.{0}', github.run_number) }}
VersionLabel: refs/tags/${{ github.event.release.tag_name }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
MSBUILDTERMINALLOGGER: auto
SLEET_FEED_URL: https://api.nuget.org/v3/index.json
Expand All @@ -43,16 +30,10 @@ jobs:
- name: ⚙ dotnet
uses: devlooped/actions-dotnet-env@v1

- name: 📝 version
run: echo "Version=${VersionOrTag/v}" >> $GITHUB_ENV

- name: 🙏 build
run: dotnet build -m:1 -bl:build.binlog

- name: 🧪 test
env:
CI_XAI_API_KEY: ${{ secrets.CI_XAI_API_KEY }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
shell: pwsh
run: dnx --yes retest -- --no-build

Expand All @@ -63,6 +44,16 @@ jobs:
name: logs
path: '*.binlog'

- name: ✅ validate
shell: pwsh
working-directory: bin
run: |
$invalid = Get-ChildItem -File -Filter "*.42.42*.nupkg"
if ($invalid) {
Write-Error "Found dev/local packages with disallowed 42.42* version prefix:`n$($invalid.Name -join "`n")"
exit 1
}

- name: 🚀 nuget
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/triage.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: 'triage'
on:
schedule:
- cron: '42 0 * * *'
- cron: '42 0 1,15 * *'

workflow_dispatch:
# Manual triggering through the GitHub UI, API, or CLI
Expand Down Expand Up @@ -104,4 +104,4 @@ jobs:
closeDays: ${{ fromJson(inputs.daysBeforeClose || 30) }}
closeComment: "This issue has been closed automatically because it needs more information and has not had recent activity.\n\nHappy Coding!"
pingDays: 80
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."
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."
16 changes: 8 additions & 8 deletions .netconfig
Original file line number Diff line number Diff line change
Expand Up @@ -65,18 +65,18 @@
weak
[file ".github/workflows/includes.yml"]
url = https://github.com/devlooped/oss/blob/main/.github/workflows/includes.yml
sha = 06628725a6303bb8c4cf3076a384fc982a91bc0b
etag = 5e6a10be141ee629201bfad01eae09b5c36a67f541ec7ab411ae400b5d73de1d
sha = d571412f07b0fb3c40023dc906f64906d7ed2b46
etag = ab627107749577bb619b024aff93027359b66b4c3f5a85a36b235e428387cd17
weak
[file ".github/workflows/publish.yml"]
url = https://github.com/devlooped/oss/blob/main/.github/workflows/publish.yml
sha = 7f5f9ee9f362f7e8f951d618f8f799033550e687
etag = c60411d1aa4e98e7f69e2d34cbccb8eb7e387ec11f6f8e78ee8d8b92122d7025
sha = 0ca5fd11125cd10c51b4433a86917c06ff1ae839
etag = ac46ffdcef820bbc6bd32378aef25ff79713196e0a5696791abb3a804e06e4d8
weak
[file ".github/workflows/triage.yml"]
url = https://github.com/devlooped/oss/blob/main/.github/workflows/triage.yml
sha = 61a602fc61eedbdae235f01e93657a6219ac2427
etag = 152cd3a559c08da14d1da12a5262ba1d2e0ed6bed6d2eabf5bd209b0c35d8a75
sha = 5ee8c91c8d9e8c0ee739fe1ec877f36c15a4aff0
etag = b19dc36058fc7d385cb5795c9e0860c11b9d027c57cb2a5e6a112e692c6884c1
weak
[file ".gitignore"]
url = https://github.com/devlooped/oss/blob/main/.gitignore
Expand Down Expand Up @@ -110,8 +110,8 @@
weak
[file "src/Directory.Build.targets"]
url = https://github.com/devlooped/oss/blob/main/src/Directory.Build.targets
sha = c67952501337303eda0fb8b340cb7606666abd8f
etag = cb83faed0cc8b930a7b6bdc61bea03a54059858cf04353e55fee94d9e3ae0fad
sha = dcd5f0a9a00a5b0c23d41a71dcc66ea41dc5f75d
etag = 2cca66d8a1adbae24dc2efee53a55fa09949242eb35b86c5fd66425da18c6107
weak
[file "src/nuget.config"]
url = https://github.com/devlooped/oss/blob/main/src/nuget.config
Expand Down
2 changes: 1 addition & 1 deletion src/Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<NuGetBuildTasksPackTargets Condition="'$(NuGetBuildTasksPackTargets)' == ''">$(MSBuildSDKsPath)\..\NuGet.Build.Tasks.Pack.targets</NuGetBuildTasksPackTargets>
</PropertyGroup>

<Import Project="$(NuGetBuildTasksPackTargets)" Condition="Exists('$(NuGetBuildTasksPackTargets)')"/>
<Import Project="$(NuGetBuildTasksPackTargets)" Condition="Exists('$(NuGetBuildTasksPackTargets)') And '$(NuGetize)' != 'true'" />

<PropertyGroup>
<!-- Revert the forced PackageId by the NuGet SDK targets for non-packable projects, see https://github.com/NuGet/Home/issues/14928 -->
Expand Down
Loading