|
1 | 1 | name: Manual Release |
| 2 | + |
2 | 3 | on: |
3 | 4 | workflow_dispatch: |
4 | 5 | inputs: |
5 | 6 | confirmeRelease: |
6 | 7 | description: 'Confirm manual release creation (by typing "true") ? ----- WARNING : check version (in pom.xml files) and release notes (in CHANGELOG.md file) before confirm' |
7 | 8 | default: 'false' |
| 9 | + |
8 | 10 | jobs: |
9 | 11 | checks: |
10 | 12 | name: Requirements |
|
14 | 16 | - name: Check user permissions |
15 | 17 | |
16 | 18 | with: |
17 | | - users: dedece35,glalloue,jhertout,jules-delecour-dav,olegoaer,zippy1978 |
| 19 | + users: dedece35,glalloue,jhertout,jules-delecour-dav,olegoaer,zippy1978,utarwyn |
18 | 20 | build: |
19 | 21 | name: Build And Release |
20 | 22 | needs: checks |
|
68 | 70 | - name: Export UPLOAD_URL |
69 | 71 | id: export_upload_url |
70 | 72 | run: echo "upload_url=${{ steps.create_release.outputs.upload_url }}" >> $GITHUB_OUTPUT |
71 | | - upload-java: |
72 | | - name: Upload Java Plugin |
73 | | - runs-on: ubuntu-latest |
74 | | - needs: build |
75 | | - steps: |
76 | | - - name: Import plugin JAR files |
77 | | - id: import_jar_files |
78 | | - uses: actions/download-artifact@v3 |
79 | | - with: |
80 | | - name: ecocode-plugins |
81 | | - path: lib |
82 | | - - name: Upload Release Asset - Java Plugin |
83 | | - id: upload-release-asset |
84 | | - uses: actions/upload-release-asset@v1 |
85 | | - env: |
86 | | - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
87 | | - with: |
88 | | - upload_url: ${{needs.build.outputs.upload_url}} |
89 | | - asset_path: lib/ecocode-java-plugin-${{ needs.build.outputs.last_tag }}.jar |
90 | | - asset_name: ecocode-java-plugin-${{ needs.build.outputs.last_tag }}.jar |
91 | | - asset_content_type: application/zip |
92 | | - upload-php: |
93 | | - name: Upload PHP Plugin |
94 | | - runs-on: ubuntu-latest |
95 | | - needs: build |
96 | | - steps: |
97 | | - - name: Import plugin JAR files |
98 | | - id: import_jar_files |
99 | | - uses: actions/download-artifact@v3 |
100 | | - with: |
101 | | - name: ecocode-plugins |
102 | | - path: lib |
103 | | - - name: Upload Release Asset - PHP Plugin |
104 | | - id: upload-release-asset |
105 | | - uses: actions/upload-release-asset@v1 |
106 | | - env: |
107 | | - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
108 | | - with: |
109 | | - upload_url: ${{needs.build.outputs.upload_url}} |
110 | | - asset_path: lib/ecocode-php-plugin-${{ needs.build.outputs.last_tag }}.jar |
111 | | - asset_name: ecocode-php-plugin-${{ needs.build.outputs.last_tag }}.jar |
112 | | - asset_content_type: application/zip |
113 | | - upload-python: |
| 73 | + |
| 74 | + upload: |
114 | 75 | name: Upload Python Plugin |
115 | 76 | runs-on: ubuntu-latest |
116 | 77 | needs: build |
|
0 commit comments