update ChromeDriver in examples to 127.0.6533.11900 #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Reqnroll.Actions.BoaConstrictor | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '.github/workflows/reqnroll.actions.boaconstrictor.yaml' | |
- 'Plugins/Reqnroll.Actions.BoaConstrictor/**' | |
- 'Plugins/*' | |
pull_request: | |
branches: | |
- main | |
paths: | |
- '.github/workflows/reqnroll.actions.boaconstrictor.yaml' | |
- 'Plugins/Reqnroll.Actions.BoaConstrictor/**' | |
- 'Plugins/*' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
DOTNET_NOLOGO: true | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
# Authenticates packages to push to GPR | |
- uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '6.0.x' | |
env: | |
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
- run: dotnet build Plugins/Reqnroll.Actions.BoaConstrictor/Reqnroll.Actions.BoaConstrictor.sln | |
- run: dotnet test Plugins/Reqnroll.Actions.BoaConstrictor/Reqnroll.Actions.BoaConstrictor.sln -f net6.0 | |
- name: Create the package | |
run: dotnet pack --configuration Release Plugins/Reqnroll.Actions.BoaConstrictor/Reqnroll.Actions.BoaConstrictor.sln | |
- name: Upload NuGet Package to Artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: NuGet-Package | |
path: | | |
Plugins/Reqnroll.Actions.BoaConstrictor/Reqnroll.Actions.BoaConstrictor/bin/Release/**/*.nupkg | |
Plugins/Reqnroll.Actions.Selenium/Reqnroll.Actions.Selenium/bin/Release/**/*.nupkg | |
Plugins/Reqnroll.Actions.Configuration/Reqnroll.Actions.Configuration.Generation/bin/Release/**/*.nupkg | |
# release: | |
# runs-on: windows-latest | |
# env: | |
# DOTNET_NOLOGO: true | |
# needs: build | |
# environment: NuGet.org | |
# if: github.ref == 'refs/heads/main' | |
# steps: | |
# # Authenticates packages to push to nuget.org. | |
# # It's only the way to push a package to nuget.org feed for macOS/Linux machines due to API key config store limitations. | |
# - name: Download a single artifact | |
# uses: actions/download-artifact@v2 | |
# with: | |
# name: NuGet-Package | |
# - uses: actions/setup-dotnet@v1 | |
# with: | |
# dotnet-version: '6.0.x' | |
# - name: Publish the package to nuget.org | |
# shell: pwsh | |
# env: | |
# NUGET_AUTH_TOKEN: ${{ secrets.REQNROLL_ACTIONS_NUGET_TOKEN }} | |
# run: dotnet nuget push "**/*.nupkg" -k "$env:NUGET_AUTH_TOKEN" -s "https://api.nuget.org/v3/index.json" --skip-duplicate | |