Skip to content

Update checkout action version #68

Update checkout action version

Update checkout action version #68

Workflow file for this run

# publishes translation packages on cloudsmith.io
name: Publish Preview Packages
on:
push:
branches: [ dev, main ]
paths-ignore:
- 'doc/**'
- '*.md'
jobs:
build:
runs-on: ubuntu-latest
env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: 1
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Build version number
run: |
echo "nugetVersion=2.0.0-preview-$(( $GITHUB_RUN_NUMBER + 20000 ))" >> $GITHUB_ENV
- name: Pack
run: .\pack.ps1
shell: pwsh
- name: Push with dotnet
run: dotnet nuget push **/*.nupkg -k ${{secrets.CLOUDSMITH_API_KEY}} -s https://nuget.cloudsmith.io/orchardcore/preview/v3/index.json --skip-duplicate --no-symbols