diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 88d505f..422dc18 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -27,9 +27,10 @@ jobs: uses: actions/checkout@v4 - name: Initialize CodeQL - uses: github/codeql-action/init@v3 + uses: github/codeql-action/init@v4 with: languages: ${{ matrix.language }} + build-mode: manual - name: Set up Java uses: actions/setup-java@v4 @@ -45,9 +46,9 @@ jobs: restore-keys: ${{ runner.os }}-m2 - name: Build with Maven - run: mvn -B -f pom.xml clean install -DskipTests + run: mvn -B clean install -DskipTests - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 + uses: github/codeql-action/analyze@v4 with: category: "/language:${{matrix.language}}" diff --git a/pom.xml b/pom.xml index 9863220..bf11544 100644 --- a/pom.xml +++ b/pom.xml @@ -21,16 +21,9 @@ org.apache.maven.plugins maven-compiler-plugin - 3.15.0 - 17 - - - org.projectlombok - lombok - 1.18.42 - - + 17 + 17 @@ -57,8 +50,8 @@ UTF-8 - 17 - 17 + 1.8 + 1.8 diff --git a/readme.md b/readme.md index 9d750dd..9097b9b 100644 --- a/readme.md +++ b/readme.md @@ -79,7 +79,6 @@ public class Example { .addElement(ButtonElement.builder().text("Click me").actionId("YOUR ACTION ID").build()) //Elements support 2 types of creation .build(); - // Build the Slack message // Build the Slack message SlackMessage message = SlackMessage.builder() .channel(channel) @@ -156,6 +155,11 @@ public class AdvancedExample { N1netails slack message simple +#### Example media output +
+ N1netails slack message simple +
+ # Develop ## Build Build the project using the following command @@ -177,6 +181,41 @@ Maven deploy to the maven central repository mvn deploy -P release ``` +### GPG +Generate keys +```bash +gpg --full-generate-key +``` + +List keys +```bash +gpg --list-secret-keys --keyid-format LONG +``` + +Export +### Export private key +```bash +gpg --export-secret-keys --armor YOUR_KEY_ID > private.asc +``` + +### Export public key + +```bash +gpg --export --armor YOUR_KEY_ID > public.asc +``` + +Import +```bash +gpg --import private.asc +gpg --import public.asc +``` + +List packets (good for validating keys were exported correctly) +```bash +gpg --list-packets public.asc +``` + + ## Support For community users, open an issue on GitHub or Join our Discord diff --git a/slack-media-message.png b/slack-media-message.png new file mode 100644 index 0000000..398085f Binary files /dev/null and b/slack-media-message.png differ