Skip to content

Commit

Permalink
Update promote_release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
colbylwilliams committed Mar 25, 2020
1 parent 9bdedb6 commit 7bf9014
Showing 1 changed file with 8 additions and 18 deletions.
26 changes: 8 additions & 18 deletions .github/workflows/promote_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,35 +17,25 @@ jobs:

steps:

# - name: Print stuff
# env:
# STUFF_TO_PRINT: ${{ toJson(github.event.release) }}
# run: echo "$STUFF_TO_PRINT"

- name: Make NuGet Directory
run: mkdir NuGet

- name: Download asset
- name: Download NuGet.zip
uses: colbylwilliams/download-release-asset@v1
with:
asset: 'NuGet.zip'
path: 'NuGet'

- name: Print asset
- name: Unzip NuGet.zip
run: |
pushd NuGet
echo $( ls )
unzip NuGet.zip
echo $( ls )
popd
# - name: Setup .NET Core
# uses: actions/setup-dotnet@v1
# with:
# dotnet-version: '3.1.101'

# - name: Get Release NuGet Packages
# run: dotnet build ${{ env.SOURCE_DIRECTORY }}/TeamCloud.sln -o Prerelease -c ${{ env.BUILD_CONFIGURATION }} -p:VersionPrefix="${{ steps.gitversion.outputs.majorMinorPatch }}" -p:AssemblyVersion="${{ steps.gitversion.outputs.assemblySemVer }}" -p:FileVersion="${{ steps.gitversion.outputs.assemblySemFileVer }}" -p:IncludeSymbols=true --version-suffix "pre"
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.1.101'

# - name: Publish Pre-release NuGet Packages
# run: dotnet nuget push Prerelease/*.nupkg --api-key '${{ secrets.MYGET_TOKEN }}' --source 'https://www.myget.org/F/teamcloud-dev/api/v2/package' --symbol-api-key '${{ secrets.MYGET_TOKEN }}' --symbol-source 'https://www.myget.org/F/teamcloud-dev/symbols/api/v2/package' --skip-duplicate
- name: Publish NuGet Packages
run: dotnet nuget push NuGet/*.nupkg --api-key '${{ secrets.MYGET_TOKEN }}' --source 'https://www.myget.org/F/teamcloud/api/v2/package' --symbol-api-key '${{ secrets.MYGET_TOKEN }}' --symbol-source 'https://www.myget.org/F/teamcloud/symbols/api/v2/package' --skip-duplicate

0 comments on commit 7bf9014

Please sign in to comment.