Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Armbian build PR] - actions: forked-helper: Don't escape multiline strings

Featured Replies

Description

Before, the string would look like this and fails since it's not a valid JSON: {%0A "after": "f6ddb25e6d6affbfdd92b4cd33a9b874254b4a09",%0A "base_ref": null,%0A "before": "0000000000000000000000000000000000000000",%0A "commits": [%0A {%0A "author": ...

After, the JSON gets correctly parsed:

{
    "after": "090850f02e35af562dd5adc39c23d423be6bfe15",
    "base_ref": null,
    "before": "0000000000000000000000000000000000000000",
    "commits": [
      {
        "author": {
...

Escaping multiline strings is not needed anymore with GITHUB_OUTPUT. See https://github.com/orgs/community/discussions/26288#discussioncomment-3876281

Instead, use the toJSON function that Actions offers to convert the event object to JSON.

How Has This Been Tested?

  • [x] Run the fixed workflow once

Checklist:

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my own code
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ ] My changes generate no new warnings

View the full article

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.