@@ -44,34 +44,34 @@ jobs:
44
44
uses : actions/checkout@v3
45
45
# these if statements ensure that a publication only occurs when
46
46
# a new release is created:
47
- if : ${{ steps.release.outputs[format('{0}{1}', env.path , env.postfix)] }}
47
+ if : ${{ contains( steps.release.outputs.paths_released , env.path) }}
48
48
49
49
- name : Install pnpm
50
50
51
- if : ${{ steps.release.outputs[format('{0}{1}', env.path , env.postfix)] }}
51
+ if : ${{ contains( steps.release.outputs.paths_released , env.path) }}
52
52
53
53
- name : Set node version to 16
54
54
uses : actions/setup-node@v2
55
55
with :
56
56
node-version : 16
57
57
cache : ' pnpm'
58
58
registry-url : ' https://registry.npmjs.org'
59
- if : ${{ steps.release.outputs[format('{0}{1}', env.path , env.postfix)] }}
59
+ if : ${{ contains( steps.release.outputs.paths_released , env.path) }}
60
60
61
61
- name : Install dependencies
62
62
run : pnpm install --ignore-scripts
63
- if : ${{ steps.release.outputs[format('{0}{1}', env.path , env.postfix)] }}
63
+ if : ${{ contains( steps.release.outputs.paths_released , env.path) }}
64
64
65
65
- name : Build library
66
66
run : pnpm run build
67
- if : ${{ steps.release.outputs[format('{0}{1}', env.path , env.postfix)] }}
67
+ if : ${{ contains( steps.release.outputs.paths_released , env.path) }}
68
68
69
69
- name : Test library
70
70
run : pnpm test
71
- if : ${{ steps.release.outputs[format('{0}{1}', env.path , env.postfix)] }}
71
+ if : ${{ contains( steps.release.outputs.paths_released , env.path) }}
72
72
73
73
- name : Publish
74
74
run : pnpm publish --tag develop --filter .\packages\bootstrap-vue-3\
75
75
env :
76
76
NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
77
- if : ${{ steps.release.outputs[format('{0}{1}', env.path , env.postfix)] }}
77
+ if : ${{ contains( steps.release.outputs.paths_released , env.path) }}
0 commit comments