Commit graph

19 commits

Author SHA1 Message Date
Leon Mika 03da0c3e85 Add optional s3-acl input for canned ACLs on uploads
Lets the workflow set, e.g., public-read on the uploaded object so the
HTTPS URL is actually downloadable without further configuration. Empty
default means no ACL is sent — required for modern AWS buckets with
Object Ownership = "Bucket owner enforced" that reject any ACL.

Validates the value against the AWS canned-ACL list at config time so
typos fail before the upload runs. Wires the input through action.yml,
config, and the orchestrator; adds a unit test that the ACL is forwarded
to PutObjectInput when set and omitted when empty.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 13:59:49 +10:00
Leon Mika 78f63e640f Print public HTTPS URL of uploaded artefact
After a successful S3 upload, log the HTTPS URL so the workflow run
output shows where the artefact was published. Uses the regional
virtual-hosted form for AWS S3 and path-style for custom endpoints,
matching how NewClient configures the client.

The URL is what the object would be served at if the bucket allows
public reads — the orchestrator does not assert anything about the
bucket's access policy.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 13:54:57 +10:00
Leon Mika d8f5309a73 Added some additional log messages 2026-05-02 12:15:33 +10:00
Leon Mika bee3c59239 Fixed action package 2026-05-02 11:47:13 +10:00
Leon Mika 9c4e4675c7 Add Forgejo Actions output + masking helpers
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 10:24:36 +10:00
Leon Mika fc259f2a28 Add S3 upload with key templating and custom endpoint
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 10:22:12 +10:00
Leon Mika 708cc0c864 Add notarytool wrapper supporting api-key and apple-id
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 10:18:46 +10:00
Leon Mika 83904d8f8c Add codesign sign + verify
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 10:16:30 +10:00
Leon Mika eefce13a7c Add temporary keychain lifecycle for codesigning
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 10:13:37 +10:00
Leon Mika 0d12173ff9 Add cleanup stack
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 10:11:29 +10:00
Leon Mika 1acf07af16 Add ditto archive helper
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 10:09:40 +10:00
Leon Mika 0c48594842 Add wails build invocation
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 10:07:25 +10:00
Leon Mika 6b8cb07973 Add Wails CLI install/detection helper
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 10:05:09 +10:00
Leon Mika 187e19230a Tidy go.mod and remove stray fixture go.sum
go mod tidy promotes golang.org/x/mod from indirect to a direct
require now that internal/wails imports it. Also removes the
testdata/sample/go.sum that go get accidentally generated inside
the fixture.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 10:03:33 +10:00
Leon Mika 338d1fd5b7 Add Wails project metadata reader
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 10:00:21 +10:00
Leon Mika 5c72dd2a97 Add config loader and validator
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 09:56:02 +10:00
Leon Mika 2115507d52 Add version resolver (tag → strip-v / fall back to short SHA)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 09:50:04 +10:00
Leon Mika f34061954f Use bytes.NewReader and add Dir/Env/Stdin coverage
Replaces the handwritten bytesBuf/eof workaround with the canonical
bytes.NewReader + io.EOF, and adds behavioural tests for the Dir, Env,
and Stdin branches of Real.Run that the original plan didn't cover.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 09:49:05 +10:00
Leon Mika 2350046601 Add Runner abstraction with Real and Fake implementations
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 09:45:26 +10:00