Skip to content

Commit

Permalink
Remove references to PHP plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
utarwyn committed Oct 6, 2023
1 parent ddacefe commit 14e5e7d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 48 deletions.
49 changes: 5 additions & 44 deletions .github/workflows/manual_release.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
name: Manual Release

on:
workflow_dispatch:
inputs:
confirmeRelease:
description: 'Confirm manual release creation (by typing "true") ? ----- WARNING : check version (in pom.xml files) and release notes (in CHANGELOG.md file) before confirm'
default: 'false'

jobs:
checks:
name: Requirements
Expand All @@ -14,7 +16,7 @@ jobs:
- name: Check user permissions
uses: 74th/[email protected]
with:
users: dedece35,glalloue,jhertout,jules-delecour-dav,olegoaer,zippy1978
users: dedece35,glalloue,jhertout,jules-delecour-dav,olegoaer,zippy1978,utarwyn
build:
name: Build And Release
needs: checks
Expand Down Expand Up @@ -68,49 +70,8 @@ jobs:
- name: Export UPLOAD_URL
id: export_upload_url
run: echo "upload_url=${{ steps.create_release.outputs.upload_url }}" >> $GITHUB_OUTPUT
upload-java:
name: Upload Java Plugin
runs-on: ubuntu-latest
needs: build
steps:
- name: Import plugin JAR files
id: import_jar_files
uses: actions/download-artifact@v3
with:
name: ecocode-plugins
path: lib
- name: Upload Release Asset - Java Plugin
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{needs.build.outputs.upload_url}}
asset_path: lib/ecocode-java-plugin-${{ needs.build.outputs.last_tag }}.jar
asset_name: ecocode-java-plugin-${{ needs.build.outputs.last_tag }}.jar
asset_content_type: application/zip
upload-php:
name: Upload PHP Plugin
runs-on: ubuntu-latest
needs: build
steps:
- name: Import plugin JAR files
id: import_jar_files
uses: actions/download-artifact@v3
with:
name: ecocode-plugins
path: lib
- name: Upload Release Asset - PHP Plugin
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{needs.build.outputs.upload_url}}
asset_path: lib/ecocode-php-plugin-${{ needs.build.outputs.last_tag }}.jar
asset_name: ecocode-php-plugin-${{ needs.build.outputs.last_tag }}.jar
asset_content_type: application/zip
upload-python:

upload:
name: Upload Python Plugin
runs-on: ubuntu-latest
needs: build
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/tag_release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: Tag Release

on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'

jobs:
checks:
name: Requirements
Expand All @@ -11,7 +13,7 @@ jobs:
- name: Check user permissions
uses: 74th/[email protected]
with:
users: dedece35,glalloue,jhertout,jules-delecour-dav,olegoaer,zippy1978
users: dedece35,glalloue,jhertout,jules-delecour-dav,olegoaer,zippy1978,utarwyn
build:
name: Build And Release
runs-on: ubuntu-latest
Expand Down Expand Up @@ -48,7 +50,8 @@ jobs:
- name: Export UPLOAD_URL
id: export_upload_url
run: echo "upload_url=${{ steps.create_release.outputs.upload_url }}" >> $GITHUB_OUTPUT
upload-python:

upload:
name: Upload Python Plugin
runs-on: ubuntu-latest
needs: build
Expand Down
2 changes: 1 addition & 1 deletion INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Project structure
Here is a preview of project tree :

```txt
ecoCode-php # Root directory
ecoCode-python # Root directory
|
+--src # source directory
|
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ check [ecoCode repository](https://github.com/green-code-initiative/ecoCode#-get
🛒 Distribution
------------------

Ready to use binaries are available [from GitHub](https://github.com/green-code-initiative/ecoCode-php/releases).
Ready to use binaries are available [from GitHub](https://github.com/green-code-initiative/ecoCode-python/releases).

🧩 Compatibility
------------------
Expand Down

0 comments on commit 14e5e7d

Please sign in to comment.