diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml deleted file mode 100644 index 4e21d3a1dc..0000000000 --- a/.github/workflows/publish.yml +++ /dev/null @@ -1,67 +0,0 @@ -name: Publish Packages - -on: - push: - branches: - - master - -jobs: - - createRelease: - - strategy: - matrix: - os: [ ubuntu-latest ] - fail-fast: false - - runs-on: ${{ matrix.os }} - - steps: - - - uses: actions/checkout@v1 - -# jobs: - -# publishPackages: - -# runs-on: windows-latest - -# env: -# SOLUTION_PATH: 'src/City.Chain.sln' -# BUILD_CONFIGURATION: 'Debug' -# NUGET_RELEASE_TYPE: 'alpha' - -# steps: - -# - uses: actions/checkout@v1 - -# - name: Setup .NET Core -# uses: actions/setup-dotnet@v1 - -# - name: Generate build number -# uses: einaregilsson/build-number@v2 -# with: -# token: ${{secrets.GITHUB_TOKEN}} - -# - name: Setup NuGet.exe -# uses: NuGet/setup-nuget@v1.0.2 - -# - name: Set GITHUB_OWNER -# run: echo "::set-env name=GITHUB_OWNER::$(echo ${{github.repository}} | cut -d "/" -f 1)" - -# - name: Update Directory.Build.props for Push -# run: | -# find . -name 'Directory.Build.props' -print0 | while read -d $'\0' file -# do -# sed -i 's,,\n\tgit\n\tgit://github.com/${{github.repository}},g' $file -# done -# shell: bash - -# - name: Nuget Pack -# run: dotnet pack --include-source --include-symbols --version-suffix "${{env.NUGET_RELEASE_TYPE}}${{env.BUILD_NUMBER}}" --configuration ${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_PATH }} - -# - name: Nuget Add Source -# run: nuget sources add -name "GPR" -Source "https://nuget.pkg.github.com/${{env.GITHUB_OWNER}}/index.json" -Username "${{env.GITHUB_OWNER}}" -Password ${{secrets.GITHUB_TOKEN}} - -# - name: Nuget Push -# run: nuget push **/*.nupkg -Source "GPR" -SkipDuplicate \ No newline at end of file