Skip to content

Commit a454039

Browse files
authored
Update deploy-pack.yml
Release script can be removed. see: ppy/osu-framework@ae96067
1 parent e864020 commit a454039

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

.github/workflows/deploy-pack.yml

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -67,28 +67,3 @@ jobs:
6767
with:
6868
name: osu-framework
6969
path: ${{steps.artifactsPath.outputs.nuget_artifacts}}\*.nupkg
70-
71-
release:
72-
name: Release
73-
runs-on: ubuntu-latest
74-
needs: [check-if-tag, pack-framework]
75-
steps:
76-
- name: Create Artifact Directory
77-
run: mkdir ${{github.workspace}}/artifacts/
78-
79-
- name: Download Artifacts
80-
uses: actions/download-artifact@v2
81-
with:
82-
path: ${{github.workspace}}/artifacts/
83-
84-
# Artifacts create their own directories. Let's fix that!
85-
# https://github.com/actions/download-artifact#download-all-artifacts
86-
- name: Move Artifacts to root of subdirectory
87-
working-directory: ${{github.workspace}}/artifacts/
88-
run: |
89-
mv -v **/*.nupkg $(pwd)
90-
rm -rfv */
91-
92-
- name: Deploy
93-
run: |
94-
dotnet nuget push ${{github.workspace}}/artifacts/*.nupkg --skip-duplicate --source https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_AUTH_TOKEN}}

0 commit comments

Comments
 (0)