Skip to content

Make pipeline ACT compatible#72

Merged
c03rad0r merged 43 commits intomainfrom
feature/act-compatible
Jan 5, 2026
Merged

Make pipeline ACT compatible#72
c03rad0r merged 43 commits intomainfrom
feature/act-compatible

Conversation

@Origami74
Copy link
Contributor

@Origami74 Origami74 commented Dec 24, 2025

I modified the pipeline so that it can be ran using an ACT runner

Main changes:

  • replaced blossom upload action with nak
  • replaced nip-94 publishing with nak
  • Store files locally, skip GitHub upload steps if running on ACT runner

origami74@gmail.com added 30 commits December 23, 2025 10:38
- Add conditional to skip upload-artifact action when running locally with ACT
- Prevents 'node not found' error in OpenWrt SDK container
- Artifact upload only runs on actual GitHub Actions
- Local builds still succeed and produce .ipk files in workspace
- ACT needs explicit checkout to access git repository
- Added fetch-depth: 0 for commit height calculation
- Fixes 'not a git repository' error in determine-versioning job
@c03rad0r
Copy link
Contributor

c03rad0r commented Dec 28, 2025

Did something change in the blossom upload action? Lets merge your branch soon - especially if it reduces our reliance on the broken action..

with:
    host: https://blossom.swissdash.site/
    filePath: ./artifacts/tollgate-wrt_feature-add-gl-mt1300.56.0dfb10b_mipsel_24kc_ramips-mt7621_24.10.1-upx-ultra-brute.ipk
    privatekey: ***
  env:
    PACKAGE_NAME: tollgate-wrt
    DEBUG: true
    PACKAGE_FILENAME: tollgate-wrt_feature-add-gl-mt1300.56.0dfb10b_mipsel_24kc_ramips-mt7621_24.10.1-upx-ultra-brute.ipk
    COMPRESSION_TYPE: upx-ultra-brute
    PACKAGE_PATH: ./artifacts/tollgate-wrt_feature-add-gl-mt1300.56.0dfb10b_mipsel_24kc_ramips-mt7621_24.10.1-upx-ultra-brute.ipk
    PACKAGE_SIZE: 4895879
Starting blossom Upload
Uploading file './artifacts/tollgate-wrt_feature-add-gl-mt1300.56.0dfb10b_mipsel_24kc_ramips-mt7621_24.10.1-upx-ultra-brute.ipk' to host: 'https://blossom.swissdash.site/'!
Blossom Upload failed with error HTTPError: Something went wrong
    at HTTPError.handleErrorResponse (/home/runner/work/_actions/Origami74/upload-blossom-action/v0.1.1/dist/index.js:52315:23)
    at uploadBlob (/home/runner/work/_actions/Origami74/upload-blossom-action/v0.1.1/dist/index.js:52454:21)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async upload (/home/runner/work/_actions/Origami74/upload-blossom-action/v0.1.1/dist/index.js:29286:20)
    at async /home/runner/work/_actions/Origami74/upload-blossom-action/v0.1.1/dist/index.js:29297:5 {
  response: Response {
    status: 400,
    statusText: 'Bad Request',
    headers: Headers {
      server: 'openresty',
      date: 'Sun, 28 Dec 2025 16:23:14 GMT',
      'content-type': 'application/json; charset=utf-8',
      'content-length': '37',
      connection: 'keep-alive',
      vary: 'Origin',
      'access-control-allow-origin': '*',
      'access-control-expose-headers': '*',
      'x-upload-message': 'Auth event already used',
      'strict-transport-security': 'max-age=63072000; preload'
    },
    body: ReadableStream { locked: false, state: 'readable', supportsBYOB: true },
    bodyUsed: false,
    ok: false,
    redirected: false,
    type: 'basic',
    url: 'https://blossom.swissdash.site/upload'
  },
  status: 400,
  body: undefined
}
Error: Something went wrong

Copy link
Contributor

@c03rad0r c03rad0r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, I love that the same workflow works in a local runner as well :)

Do you have any documentation/instructions on how to run this locally? If I recall correctly you switched from act to something else right?

@c03rad0r c03rad0r merged commit 7061641 into main Jan 5, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants