Skip to content

Commit 0814e17

Browse files
Merge pull request #9 from 304NotModified/enable-releases
Enable package publishing
2 parents 33364e3 + 975f639 commit 0814e17

10 files changed

+220
-220
lines changed

.github/workflows/reqnroll.actions.android.yaml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -57,25 +57,25 @@ jobs:
5757
Plugins/Reqnroll.Actions.Appium/Reqnroll.Actions.Appium/bin/Release/**/*.nupkg
5858
Plugins/Reqnroll.Actions.Configuration/Reqnroll.Actions.Configuration.Generation/bin/Release/**/*.nupkg
5959
60-
# release:
61-
# runs-on: windows-latest
62-
# env:
63-
# DOTNET_NOLOGO: true
64-
# needs: build
65-
# environment: NuGet.org
66-
# if: github.ref == 'refs/heads/main'
67-
# steps:
68-
# # Authenticates packages to push to nuget.org.
69-
# # It's only the way to push a package to nuget.org feed for macOS/Linux machines due to API key config store limitations.
70-
# - name: Download a single artifact
71-
# uses: actions/download-artifact@v2
72-
# with:
73-
# name: NuGet-Package
74-
# - uses: actions/setup-dotnet@v1
75-
# with:
76-
# dotnet-version: '6.0.x'
77-
# - name: Publish the package to nuget.org
78-
# shell: pwsh
79-
# env:
80-
# NUGET_AUTH_TOKEN: ${{ secrets.REQNROLL_ACTIONS_NUGET_TOKEN }}
81-
# run: dotnet nuget push "**/*.nupkg" -k "$env:NUGET_AUTH_TOKEN" -s "https://api.nuget.org/v3/index.json" --skip-duplicate
60+
release:
61+
runs-on: windows-latest
62+
env:
63+
DOTNET_NOLOGO: true
64+
needs: build
65+
environment: NuGet.org
66+
if: github.ref == 'refs/heads/main'
67+
steps:
68+
# Authenticates packages to push to nuget.org.
69+
# It's only the way to push a package to nuget.org feed for macOS/Linux machines due to API key config store limitations.
70+
- name: Download a single artifact
71+
uses: actions/download-artifact@v2
72+
with:
73+
name: NuGet-Package
74+
- uses: actions/setup-dotnet@v1
75+
with:
76+
dotnet-version: '6.0.x'
77+
- name: Publish the package to nuget.org
78+
shell: pwsh
79+
env:
80+
NUGET_AUTH_TOKEN: ${{ secrets.REQNROLL_ACTIONS_NUGET_TOKEN }}
81+
run: dotnet nuget push "**/*.nupkg" -k "$env:NUGET_AUTH_TOKEN" -s "https://api.nuget.org/v3/index.json" --skip-duplicate

.github/workflows/reqnroll.actions.appium.yaml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -46,25 +46,25 @@ jobs:
4646
Plugins/Reqnroll.Actions.Appium/Reqnroll.Actions.Appium/bin/Release/**/*.nupkg
4747
Plugins/Reqnroll.Actions.Configuration/Reqnroll.Actions.Configuration.Generation/bin/Release/**/*.nupkg
4848
49-
# release:
50-
# runs-on: windows-latest
51-
# env:
52-
# DOTNET_NOLOGO: true
53-
# needs: build
54-
# environment: NuGet.org
55-
# if: github.ref == 'refs/heads/main'
56-
# steps:
57-
# # Authenticates packages to push to nuget.org.
58-
# # It's only the way to push a package to nuget.org feed for macOS/Linux machines due to API key config store limitations.
59-
# - name: Download a single artifact
60-
# uses: actions/download-artifact@v2
61-
# with:
62-
# name: NuGet-Package
63-
# - uses: actions/setup-dotnet@v1
64-
# with:
65-
# dotnet-version: '6.0.x'
66-
# - name: Publish the package to nuget.org
67-
# shell: pwsh
68-
# env:
69-
# NUGET_AUTH_TOKEN: ${{ secrets.REQNROLL_ACTIONS_NUGET_TOKEN }}
70-
# run: dotnet nuget push "**/*.nupkg" -k "$env:NUGET_AUTH_TOKEN" -s "https://api.nuget.org/v3/index.json" --skip-duplicate
49+
release:
50+
runs-on: windows-latest
51+
env:
52+
DOTNET_NOLOGO: true
53+
needs: build
54+
environment: NuGet.org
55+
if: github.ref == 'refs/heads/main'
56+
steps:
57+
# Authenticates packages to push to nuget.org.
58+
# It's only the way to push a package to nuget.org feed for macOS/Linux machines due to API key config store limitations.
59+
- name: Download a single artifact
60+
uses: actions/download-artifact@v2
61+
with:
62+
name: NuGet-Package
63+
- uses: actions/setup-dotnet@v1
64+
with:
65+
dotnet-version: '6.0.x'
66+
- name: Publish the package to nuget.org
67+
shell: pwsh
68+
env:
69+
NUGET_AUTH_TOKEN: ${{ secrets.REQNROLL_ACTIONS_NUGET_TOKEN }}
70+
run: dotnet nuget push "**/*.nupkg" -k "$env:NUGET_AUTH_TOKEN" -s "https://api.nuget.org/v3/index.json" --skip-duplicate

.github/workflows/reqnroll.actions.boaconstrictor.yaml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -50,26 +50,26 @@ jobs:
5050
Plugins/Reqnroll.Actions.Configuration/Reqnroll.Actions.Configuration.Generation/bin/Release/**/*.nupkg
5151
5252
53-
# release:
54-
# runs-on: windows-latest
55-
# env:
56-
# DOTNET_NOLOGO: true
57-
# needs: build
58-
# environment: NuGet.org
59-
# if: github.ref == 'refs/heads/main'
60-
# steps:
61-
# # Authenticates packages to push to nuget.org.
62-
# # It's only the way to push a package to nuget.org feed for macOS/Linux machines due to API key config store limitations.
63-
# - name: Download a single artifact
64-
# uses: actions/download-artifact@v2
65-
# with:
66-
# name: NuGet-Package
67-
# - uses: actions/setup-dotnet@v1
68-
# with:
69-
# dotnet-version: '6.0.x'
70-
# - name: Publish the package to nuget.org
71-
# shell: pwsh
72-
# env:
73-
# NUGET_AUTH_TOKEN: ${{ secrets.REQNROLL_ACTIONS_NUGET_TOKEN }}
74-
# run: dotnet nuget push "**/*.nupkg" -k "$env:NUGET_AUTH_TOKEN" -s "https://api.nuget.org/v3/index.json" --skip-duplicate
53+
release:
54+
runs-on: windows-latest
55+
env:
56+
DOTNET_NOLOGO: true
57+
needs: build
58+
environment: NuGet.org
59+
if: github.ref == 'refs/heads/main'
60+
steps:
61+
# Authenticates packages to push to nuget.org.
62+
# It's only the way to push a package to nuget.org feed for macOS/Linux machines due to API key config store limitations.
63+
- name: Download a single artifact
64+
uses: actions/download-artifact@v2
65+
with:
66+
name: NuGet-Package
67+
- uses: actions/setup-dotnet@v1
68+
with:
69+
dotnet-version: '6.0.x'
70+
- name: Publish the package to nuget.org
71+
shell: pwsh
72+
env:
73+
NUGET_AUTH_TOKEN: ${{ secrets.REQNROLL_ACTIONS_NUGET_TOKEN }}
74+
run: dotnet nuget push "**/*.nupkg" -k "$env:NUGET_AUTH_TOKEN" -s "https://api.nuget.org/v3/index.json" --skip-duplicate
7575

.github/workflows/reqnroll.actions.browserstack.yaml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -54,26 +54,26 @@ jobs:
5454
Plugins/Reqnroll.Actions.Configuration/Reqnroll.Actions.Configuration.Generation/bin/Release/**/*.nupkg
5555
5656
57-
# release:
58-
# runs-on: windows-latest
59-
# env:
60-
# DOTNET_NOLOGO: true
61-
# needs: build
62-
# environment: NuGet.org
63-
# if: github.ref == 'refs/heads/main'
64-
# steps:
65-
# # Authenticates packages to push to nuget.org.
66-
# # It's only the way to push a package to nuget.org feed for macOS/Linux machines due to API key config store limitations.
67-
# - name: Download a single artifact
68-
# uses: actions/download-artifact@v2
69-
# with:
70-
# name: NuGet-Package
71-
# - uses: actions/setup-dotnet@v1
72-
# with:
73-
# dotnet-version: '6.0.x'
74-
# - name: Publish the package to nuget.org
75-
# shell: pwsh
76-
# env:
77-
# NUGET_AUTH_TOKEN: ${{ secrets.REQNROLL_ACTIONS_NUGET_TOKEN }}
78-
# run: dotnet nuget push "**/*.nupkg" -k "$env:NUGET_AUTH_TOKEN" -s "https://api.nuget.org/v3/index.json" --skip-duplicate
57+
release:
58+
runs-on: windows-latest
59+
env:
60+
DOTNET_NOLOGO: true
61+
needs: build
62+
environment: NuGet.org
63+
if: github.ref == 'refs/heads/main'
64+
steps:
65+
# Authenticates packages to push to nuget.org.
66+
# It's only the way to push a package to nuget.org feed for macOS/Linux machines due to API key config store limitations.
67+
- name: Download a single artifact
68+
uses: actions/download-artifact@v2
69+
with:
70+
name: NuGet-Package
71+
- uses: actions/setup-dotnet@v1
72+
with:
73+
dotnet-version: '6.0.x'
74+
- name: Publish the package to nuget.org
75+
shell: pwsh
76+
env:
77+
NUGET_AUTH_TOKEN: ${{ secrets.REQNROLL_ACTIONS_NUGET_TOKEN }}
78+
run: dotnet nuget push "**/*.nupkg" -k "$env:NUGET_AUTH_TOKEN" -s "https://api.nuget.org/v3/index.json" --skip-duplicate
7979

.github/workflows/reqnroll.actions.configuration.yaml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -46,26 +46,26 @@ jobs:
4646
path: Plugins/Reqnroll.Actions.Configuration/Reqnroll.Actions.Configuration.Generation/bin/Release/**/*.nupkg
4747

4848

49-
# release:
50-
# runs-on: windows-latest
51-
# env:
52-
# DOTNET_NOLOGO: true
53-
# needs: build
54-
# environment: NuGet.org
55-
# if: github.ref == 'refs/heads/main'
56-
# steps:
57-
# # Authenticates packages to push to nuget.org.
58-
# # It's only the way to push a package to nuget.org feed for macOS/Linux machines due to API key config store limitations.
59-
# - name: Download a single artifact
60-
# uses: actions/download-artifact@v2
61-
# with:
62-
# name: NuGet-Package
63-
# - uses: actions/setup-dotnet@v1
64-
# with:
65-
# dotnet-version: '6.0.x'
66-
# - name: Publish the package to nuget.org
67-
# shell: pwsh
68-
# env:
69-
# NUGET_AUTH_TOKEN: ${{ secrets.REQNROLL_ACTIONS_NUGET_TOKEN }}
70-
# run: dotnet nuget push "**/*.nupkg" -k "$env:NUGET_AUTH_TOKEN" -s "https://api.nuget.org/v3/index.json" --skip-duplicate
49+
release:
50+
runs-on: windows-latest
51+
env:
52+
DOTNET_NOLOGO: true
53+
needs: build
54+
environment: NuGet.org
55+
if: github.ref == 'refs/heads/main'
56+
steps:
57+
# Authenticates packages to push to nuget.org.
58+
# It's only the way to push a package to nuget.org feed for macOS/Linux machines due to API key config store limitations.
59+
- name: Download a single artifact
60+
uses: actions/download-artifact@v2
61+
with:
62+
name: NuGet-Package
63+
- uses: actions/setup-dotnet@v1
64+
with:
65+
dotnet-version: '6.0.x'
66+
- name: Publish the package to nuget.org
67+
shell: pwsh
68+
env:
69+
NUGET_AUTH_TOKEN: ${{ secrets.REQNROLL_ACTIONS_NUGET_TOKEN }}
70+
run: dotnet nuget push "**/*.nupkg" -k "$env:NUGET_AUTH_TOKEN" -s "https://api.nuget.org/v3/index.json" --skip-duplicate
7171

.github/workflows/reqnroll.actions.docker.yaml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -52,26 +52,26 @@ jobs:
5252
5353
5454
55-
# release:
56-
# runs-on: windows-latest
57-
# env:
58-
# DOTNET_NOLOGO: true
59-
# needs: build
60-
# environment: NuGet.org
61-
# if: github.ref == 'refs/heads/main'
62-
# steps:
63-
# # Authenticates packages to push to nuget.org.
64-
# # It's only the way to push a package to nuget.org feed for macOS/Linux machines due to API key config store limitations.
65-
# - name: Download a single artifact
66-
# uses: actions/download-artifact@v2
67-
# with:
68-
# name: NuGet-Package
69-
# - uses: actions/setup-dotnet@v1
70-
# with:
71-
# dotnet-version: '6.0.x'
72-
# - name: Publish the package to nuget.org
73-
# shell: pwsh
74-
# env:
75-
# NUGET_AUTH_TOKEN: ${{ secrets.REQNROLL_ACTIONS_NUGET_TOKEN }}
76-
# run: dotnet nuget push "**/*.nupkg" -k "$env:NUGET_AUTH_TOKEN" -s "https://api.nuget.org/v3/index.json" --skip-duplicate
55+
release:
56+
runs-on: windows-latest
57+
env:
58+
DOTNET_NOLOGO: true
59+
needs: build
60+
environment: NuGet.org
61+
if: github.ref == 'refs/heads/main'
62+
steps:
63+
# Authenticates packages to push to nuget.org.
64+
# It's only the way to push a package to nuget.org feed for macOS/Linux machines due to API key config store limitations.
65+
- name: Download a single artifact
66+
uses: actions/download-artifact@v2
67+
with:
68+
name: NuGet-Package
69+
- uses: actions/setup-dotnet@v1
70+
with:
71+
dotnet-version: '6.0.x'
72+
- name: Publish the package to nuget.org
73+
shell: pwsh
74+
env:
75+
NUGET_AUTH_TOKEN: ${{ secrets.REQNROLL_ACTIONS_NUGET_TOKEN }}
76+
run: dotnet nuget push "**/*.nupkg" -k "$env:NUGET_AUTH_TOKEN" -s "https://api.nuget.org/v3/index.json" --skip-duplicate
7777

.github/workflows/reqnroll.actions.lambdatest.yaml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -79,26 +79,26 @@ jobs:
7979
# path: '*.trx' # Path to test results (inside artifact .zip)
8080
# reporter: dotnet-trx # Format of test results
8181

82-
# release:
83-
# runs-on: windows-latest
84-
# env:
85-
# DOTNET_NOLOGO: true
86-
# needs: build
87-
# environment: NuGet.org
88-
# if: github.ref == 'refs/heads/main'
89-
# steps:
90-
# # Authenticates packages to push to nuget.org.
91-
# # It's only the way to push a package to nuget.org feed for macOS/Linux machines due to API key config store limitations.
92-
# - name: Download a single artifact
93-
# uses: actions/download-artifact@v2
94-
# with:
95-
# name: NuGet-Package
96-
# - uses: actions/setup-dotnet@v1
97-
# with:
98-
# dotnet-version: '6.0.x'
99-
# - name: Publish the package to nuget.org
100-
# shell: pwsh
101-
# env:
102-
# NUGET_AUTH_TOKEN: ${{ secrets.REQNROLL_ACTIONS_NUGET_TOKEN }}
103-
# run: dotnet nuget push "**/*.nupkg" -k "$env:NUGET_AUTH_TOKEN" -s "https://api.nuget.org/v3/index.json" --skip-duplicate
82+
release:
83+
runs-on: windows-latest
84+
env:
85+
DOTNET_NOLOGO: true
86+
needs: build
87+
environment: NuGet.org
88+
if: github.ref == 'refs/heads/main'
89+
steps:
90+
# Authenticates packages to push to nuget.org.
91+
# It's only the way to push a package to nuget.org feed for macOS/Linux machines due to API key config store limitations.
92+
- name: Download a single artifact
93+
uses: actions/download-artifact@v2
94+
with:
95+
name: NuGet-Package
96+
- uses: actions/setup-dotnet@v1
97+
with:
98+
dotnet-version: '6.0.x'
99+
- name: Publish the package to nuget.org
100+
shell: pwsh
101+
env:
102+
NUGET_AUTH_TOKEN: ${{ secrets.REQNROLL_ACTIONS_NUGET_TOKEN }}
103+
run: dotnet nuget push "**/*.nupkg" -k "$env:NUGET_AUTH_TOKEN" -s "https://api.nuget.org/v3/index.json" --skip-duplicate
104104

.github/workflows/reqnroll.actions.playwright.yaml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -51,26 +51,26 @@ jobs:
5151
Plugins/Reqnroll.Actions.Configuration/Reqnroll.Actions.Configuration.Generation/bin/Release/**/*.nupkg
5252
5353
54-
# release:
55-
# runs-on: windows-latest
56-
# env:
57-
# DOTNET_NOLOGO: true
58-
# needs: build
59-
# environment: NuGet.org
60-
# if: github.ref == 'refs/heads/main'
61-
# steps:
62-
# # Authenticates packages to push to nuget.org.
63-
# # It's only the way to push a package to nuget.org feed for macOS/Linux machines due to API key config store limitations.
64-
# - name: Download a single artifact
65-
# uses: actions/download-artifact@v2
66-
# with:
67-
# name: NuGet-Package
68-
# - uses: actions/setup-dotnet@v1
69-
# with:
70-
# dotnet-version: '6.0.x'
71-
# - name: Publish the package to nuget.org
72-
# shell: pwsh
73-
# env:
74-
# NUGET_AUTH_TOKEN: ${{ secrets.REQNROLL_ACTIONS_NUGET_TOKEN }}
75-
# run: dotnet nuget push "**/*.nupkg" -k "$env:NUGET_AUTH_TOKEN" -s "https://api.nuget.org/v3/index.json" --skip-duplicate
54+
release:
55+
runs-on: windows-latest
56+
env:
57+
DOTNET_NOLOGO: true
58+
needs: build
59+
environment: NuGet.org
60+
if: github.ref == 'refs/heads/main'
61+
steps:
62+
# Authenticates packages to push to nuget.org.
63+
# It's only the way to push a package to nuget.org feed for macOS/Linux machines due to API key config store limitations.
64+
- name: Download a single artifact
65+
uses: actions/download-artifact@v2
66+
with:
67+
name: NuGet-Package
68+
- uses: actions/setup-dotnet@v1
69+
with:
70+
dotnet-version: '6.0.x'
71+
- name: Publish the package to nuget.org
72+
shell: pwsh
73+
env:
74+
NUGET_AUTH_TOKEN: ${{ secrets.REQNROLL_ACTIONS_NUGET_TOKEN }}
75+
run: dotnet nuget push "**/*.nupkg" -k "$env:NUGET_AUTH_TOKEN" -s "https://api.nuget.org/v3/index.json" --skip-duplicate
7676

0 commit comments

Comments
 (0)