Skip to content

1. Update CI

1. Update CI #4

Workflow file for this run

name: pack
on:
push:
branches: [ workflow_build ]
pull_request:
branches: [ workflow_build ]
permissions:
contents: read
jobs:
pack:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: |
9.0.x
8.0.x
6.0.x
- name: Make the script files executable
run: chmod +x pack.sh
- name: Generate NuGet package
run: pack.sh
- name: Publish package in GitHub
run: dotnet nuget push ./artifacts/packages/Release/GitHub/*.nupkg --api-key ${{ secrets.PUSH_GITHUB }} --source https://nuget.pkg.github.com/t1moH1ch/index.json
create-release:
name: Create Release
runs-on: ubuntu-latest
needs: [ pack ]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.PUSH_NUGET }}
with:
tag_name: 7.0.0-preview
release_name: PreRelease 7.0.0-preview
body: |
Changes in this Release you can see https://github.com/t1moH1ch/openiddict-core/commits/dev/
draft: false
prerelease: true