Skip to content

Commit

Permalink
Supply secrets to github action
Browse files Browse the repository at this point in the history
  • Loading branch information
nailujx86 committed May 28, 2024
1 parent 8a0d750 commit faa5551
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,12 @@ jobs:
run: |
chmod +x gradlew
./gradlew check buildPlugin signPlugin --info
env:
CERTIFICATE_CHAIN: ${{ secrets.CERTIFICATE_CHAIN }}
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
PRIVATE_KEY_PASSWORD: ${{ secrets.PRIVATE_KEY_PASSWORD }}
- name: Upload built plugin
uses: actions/upload-artifact@v4
with:
name: plugin
name: autoconfig-plugin
path: build/distributions/*.zip
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ intellij {
version = System.getenv().getOrDefault("IJ_VERSION",
"2023.2"
)
pluginName = "AutoConfigPlugin"
pluginName = "AutoconfigPlugin"
downloadSources = true
updateSinceUntilBuild = false
instrumentCode = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* "Safer" Plugin-Repository Provider which does not persist the configured plugin repository. This provider is used when checking for required
* plugins and when checking for plugin updates.
*/
public class AutoConfigUpdateSettingsProvider implements UpdateSettingsProvider {
public class AutoconfigUpdateSettingsProvider implements UpdateSettingsProvider {

@NotNull
@Override
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<postStartupActivity implementation="de.gebit.plugins.autoconfig.AutoconfigStartup"/>
<notificationGroup displayType="BALLOON" id="Autoconfig"/>
<formatOnSaveOptions.defaultsProvider implementation="de.gebit.plugins.autoconfig.FormatOnSaveOptionsDefaultsProvider"/>
<updateSettingsProvider implementation="de.gebit.plugins.autoconfig.plugins.AutoConfigUpdateSettingsProvider"/>
<updateSettingsProvider implementation="de.gebit.plugins.autoconfig.plugins.AutoconfigUpdateSettingsProvider"/>
</extensions>
<extensions defaultExtensionNs="JavaScript.JsonSchema">
<ProviderFactory implementation="de.gebit.plugins.autoconfig.json.ConfigurationJsonSchemeProviderFactory"/>
Expand Down

0 comments on commit faa5551

Please sign in to comment.