Skip to content

Commit 2c92b7a

Browse files
authored
Merge pull request #363 from csf-dev/craigfowler/issue260
Resolve #260 - Publish CI packages to GitHub
2 parents e628bd5 + 2d8f43d commit 2c92b7a

4 files changed

Lines changed: 19 additions & 9 deletions

File tree

.github/workflows/crossBrowserTesting.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,12 @@ jobs:
8181

8282
steps:
8383
- name: Checkout
84-
uses: actions/checkout@v4
84+
uses: actions/checkout@v6
8585

8686
# Install build dependencies
8787

8888
- name: Install .NET
89-
uses: actions/setup-dotnet@v4
89+
uses: actions/setup-dotnet@v5
9090
with:
9191
dotnet-version: ${{ env.DotnetVersion }}
9292
- name: Install Node.js for building JSON-to-HTML report converter
@@ -113,7 +113,7 @@ jobs:
113113

114114
# Post-test tasks (artifacts, overall status)
115115
- name: Upload Screenplay JSON report artifact
116-
uses: actions/upload-artifact@v4
116+
uses: actions/upload-artifact@v7
117117
with:
118118
name: Screenplay JSON reports ${{ matrix.browserName }}_${{ matrix.browserVersion }}_${{ matrix.os }}_${{ matrix.osVersion }}
119119
path: Tests/CSF.Screenplay.Selenium.Tests/**/ScreenplayReport.json
@@ -127,7 +127,7 @@ jobs:
127127
dotnet run --no-build --framework $Tfm -c ${{ env.Configuration }} --project CSF.Screenplay.JsonToHtmlReport --ReportPath "$report" --OutputPath "$outputFile"
128128
done
129129
- name: Upload Screenplay HTML report artifact
130-
uses: actions/upload-artifact@v4
130+
uses: actions/upload-artifact@v7
131131
with:
132132
name: Screenplay HTML reports ${{ matrix.browserName }}_${{ matrix.browserVersion }}_${{ matrix.os }}_${{ matrix.osVersion }}
133133
path: Tests/**/ScreenplayReport.html

.github/workflows/dotnetCi.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
DISPLAY: :99
4343
# Change selected factory to VerboseChrome to debug Chrome-related issues
4444
WebDriverFactory__SelectedConfiguration: CiHeadlessChrome
45+
GithubNugetUsername: craigfowler
4546

4647
steps:
4748
- name: Checkout
@@ -207,3 +208,12 @@ jobs:
207208
with:
208209
name: Docs website
209210
path: docs/**/*
211+
- name: Publish packages to GitHub feed
212+
if: ${{ github.event_name != 'pull_request' && github.ref_name == 'master' }}
213+
run: |
214+
dotnet nuget add source --username ${{ env.GithubNugetUsername }} --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/csf-dev/index.json"
215+
for package in packages/*.nupkg
216+
do
217+
dotnet nuget push $package --source github
218+
done
219+

.github/workflows/publishDocsWebsite.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ jobs:
1919

2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@v6
2323
- name: Add .NET global tools location to PATH
2424
run: echo "$HOME/.dotnet/tools" >> "$GITHUB_PATH"
2525
- name: Install .NET
26-
uses: actions/setup-dotnet@v4
26+
uses: actions/setup-dotnet@v5
2727
with:
2828
dotnet-version: ${{ env.DotnetVersion }}
2929
- name: Install DocFX

.github/workflows/supportVerification.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Third party support verification
1+
name: Reqnroll support verification
22

33
on:
44
schedule:
@@ -29,9 +29,9 @@ jobs:
2929

3030
steps:
3131
- name: Checkout
32-
uses: actions/checkout@v4
32+
uses: actions/checkout@v6
3333
- name: Install .NET
34-
uses: actions/setup-dotnet@v4
34+
uses: actions/setup-dotnet@v5
3535
with:
3636
dotnet-version: ${{ env.DotnetVersion }}
3737
- name: Test Reqnroll (only)

0 commit comments

Comments
 (0)