File tree Expand file tree Collapse file tree 1 file changed +3
-34
lines changed
Expand file tree Collapse file tree 1 file changed +3
-34
lines changed Original file line number Diff line number Diff line change 11name : Prepare Release
22
33on :
4+ pull_request :
45 workflow_dispatch :
56 inputs :
67 release_type :
3940 release :
4041 runs-on : ubuntu-latest
4142 steps :
42- - name : Checkout release helper repo (@eclipse-glsp/glsp)
43- uses : actions/checkout@08c6903 # v5.0.0
44- with :
45- repository : eclipse-glsp/glsp
46- path : glsp-release-helper
47-
48- - name : Checkout release repo (${{ github.event.inputs.release_repo }})
49- uses : actions/checkout@08c6903 # v5.0.0
50- with :
51- repository : eclipse-glsp/${{ github.event.inputs.release_repo }}
52- path : release-repo
53- ref : ${{ github.event.inputs.branch }}
54-
55- - name : Set up Node.js
56- uses : actions/setup-node@a0853c2 # v5.0.0
57- with :
58- node-version : 20
59-
60- - name : Install Yarn
61- run : npm install -g yarn
62-
63- - name : Install dependencies in glsp-release-helper
64- working-directory : ./glsp-release-helper
65- run : yarn install
66-
67- - name : Prepare release
68- id : prepare_release
69- working-directory : ./glsp-release-helper
70- run : |
71- if [[ "${{ github.event.inputs.release_type }}" == "custom" ]]; then
72- yarn glsp releng prepare custom "${{ github.event.inputs.custom_version }}" -r ../release-repo -d
73- else
74- yarn glsp releng prepare "${{ github.event.inputs.release_type }}" -r ../release-repo -d
75- fi
43+ - name : Hello world
44+ run : echo "Preparing release of ${{ github.event.inputs.release_repo }} with type ${{ github.event.inputs.release_type }}"
You can’t perform that action at this time.
0 commit comments