-
Notifications
You must be signed in to change notification settings - Fork 22
39 lines (30 loc) · 1.05 KB
/
part-publish.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
on:
workflow_call:
inputs:
prereleaseSlug:
required: false
type: string
jobs:
npm:
runs-on: ubuntu-latest
steps:
- name: Download all workflow run artifacts
uses: actions/download-artifact@v4
- uses: actions/setup-node@v4
with:
registry-url: 'https://registry.npmjs.org'
- name: npm publish coalesce-vue
run: npm publish ./coalesce-vue/*.tgz --tag ${{ inputs.prereleaseSlug || 'latest' }} --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: npm publish coalesce-vue-vuetify
run: for f in ./coalesce-vue-vuetify*/*.tgz; do npm publish $f --tag ${{ inputs.prereleaseSlug || 'latest' }} --access public; done
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
nuget:
runs-on: ubuntu-latest
steps:
- name: Download all workflow run artifacts
uses: actions/download-artifact@v4
- name: dotnet nuget push
run: dotnet nuget push "**/*.nupkg" -s https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_TOKEN }}