File tree 1 file changed +0
-27
lines changed
1 file changed +0
-27
lines changed Original file line number Diff line number Diff line change 34
34
ACTIONS_RUNTIME_TOKEN : ${{ env.ACTIONS_RUNTIME_TOKEN }}
35
35
ACTIONS_RUNTIME_URL : " ${{ env.ACTIONS_RUNTIME_URL }}"
36
36
37
- deploy-to-github :
38
- name : Deploy To GitHub
39
- needs : [ build ]
40
- runs-on : ubuntu-latest
41
- if : ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
42
- permissions :
43
- packages : write
44
- contents : write
45
- steps :
46
- - name : Expose GitHub Runtime
47
- uses : crazy-max/ghaction-github-runtime@v3
48
-
49
- - name : Clone Repository
50
- uses : actions/checkout@v4
51
-
52
- - name : Setup .NET
53
- uses : actions/setup-dotnet@v4
54
- with :
55
- dotnet-version : ' 8.0.x'
56
-
57
- - name : Push GitHub NuGets
58
- run : dotnet run --project build/AsepriteDotNet.Build.csproj -- --target=DeployNuGetsToGitHub
59
- env :
60
- ACTIONS_RUNTIME_TOKEN : ${{ env.ACTIONS_RUNTIME_TOKEN }}
61
- ACTIONS_RUNTIME_URL : " ${{ env.ACTIONS_RUNTIME_URL }}"
62
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
63
-
64
37
deploy-to-nuget :
65
38
name : Deploy To NuGet
66
39
needs : [ build ]
You can’t perform that action at this time.
0 commit comments