File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 11name : Deprecate package versions
22
33on :
4- push :
5- branches :
6- - ci/deprecate-v
74 workflow_dispatch :
85 inputs :
96 version :
2320 runs-on : ubuntu-latest
2421 permissions :
2522 contents : read
26- id-token : write
2723
2824 steps :
2925 - name : Generate token
7470 run : npm install -g npm@latest
7571
7672 - name : Deprecate package versions
73+ env :
74+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
7775 run : |
78- VERSION="${{ inputs.version || '2.86.1-canary.0' }}"
79- MESSAGE="${{ inputs.message || 'Testing deprecation' }}"
76+ VERSION="${{ inputs.version }}"
77+ MESSAGE="${{ inputs.message }}"
8078
8179 PACKAGES=(
8280 "supabase-js"
@@ -122,7 +120,7 @@ jobs:
122120 with :
123121 title : ' SDK Deprecation'
124122 status : ' success'
125- version : ${{ inputs.version || '2.86.1-canary.0' }}
123+ version : ${{ inputs.version }}
126124 secrets : inherit
127125
128126 notify-failure :
@@ -132,5 +130,5 @@ jobs:
132130 with :
133131 title : ' SDK Deprecation'
134132 status : ' failure'
135- version : ${{ inputs.version || '2.86.1-canary.0' }}
133+ version : ${{ inputs.version }}
136134 secrets : inherit
You can’t perform that action at this time.
0 commit comments