We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8219c8d commit 7222e86Copy full SHA for 7222e86
.github/workflows/ci.yml
@@ -7,6 +7,14 @@ on:
7
- '[0-9]+.[0-9]+.[0-9]+-*'
8
pull_request:
9
workflow_dispatch:
10
+ inputs:
11
+ nightly:
12
+ description: 'Build as nightly version'
13
+ required: false
14
+ type: boolean
15
+ default: false
16
+ schedule:
17
+ - cron: '0 15 * * *' # Run at 3 PM UTC (1 AM Melbourne AEST / 2 AM AEDT)
18
env:
19
DOTNET_NOLOGO: true
20
jobs:
@@ -24,6 +32,8 @@ jobs:
24
32
dotnet-version: 9.0.x
25
33
- name: Build
26
34
run: dotnet build LibGit2Sharp.sln --configuration Release
35
+ env:
36
+ MinVerDefaultPreReleaseIdentifiers: ${{ (github.event_name == 'schedule' || inputs.nightly) && format('octopus-nightly-{0}', github.run_number) || 'octopus.0' }}
27
37
- name: Upload packages
28
38
uses: actions/upload-artifact@v4.3.1
29
39
with:
0 commit comments