Commit Graph

42 Commits

Author SHA1 Message Date
Edwin Sirko df1bbcf10f use runner's RUNNER_TEMP for temp directory (#75)
* use runner tempdir

* fix tests etc

* feedback

* ran npm install before generating dist
2024-01-31 16:50:45 -05:00
ddivad195 8d2cafe1d2 fix failing lint and test errors 2024-01-30 16:13:51 +00:00
ddivad195 5fc6c86976 remove path input param 2024-01-30 11:04:39 +00:00
Edwin Sirko b0301f588c forgot to npm run bundle 2024-01-29 21:05:30 -05:00
Edwin Sirko 207498716a fixed repoId/ownerId as string in json manifest (#59) 2024-01-29 21:03:59 -05:00
Edwin Sirko c0f3a2de99 auth header 2024-01-29 18:35:12 -05:00
Edwin Sirko 1c17c22b51 2 small fixes (#56) 2024-01-29 17:09:19 -05:00
Edwin Sirko 77fbf96c58 fixed bug with fsExtra.copySync (#55) 2024-01-29 16:44:15 -05:00
Conor Sloan b6419ce067 Tying up loose ends (#54)
* various qol updates to publish action

* review comments and run bundle
2024-01-29 15:31:00 -05:00
Edwin Sirko 7b797db603 comment 2024-01-26 21:06:07 -05:00
Edwin Sirko 6630eef689 tests 2024-01-26 16:35:51 -05:00
Edwin Sirko 6eccb75525 fix 2024-01-26 16:35:51 -05:00
Edwin Sirko 89c429cf42 refactored path calculation 2024-01-26 16:35:51 -05:00
ddivad195 814845b943 remove console log of path 2024-01-26 21:31:48 +00:00
boxofyellow 1191379019 fromm running npm run all 2024-01-26 13:10:01 -08:00
boxofyellow ebdbf0a34b fix lint 2024-01-26 12:14:31 -08:00
Edwin Sirko 206ff2d4e2 order logic to fail fast appropriately 2024-01-26 13:15:36 -05:00
Edwin Sirko 7120405e17 auto changes 2024-01-26 13:09:08 -05:00
Edwin Sirko 4ed2e10e92 isActionRepo() 2024-01-26 13:07:57 -05:00
Edwin Sirko 55e582b23e resolved a TODO item about semver 2024-01-26 13:07:11 -05:00
Edwin Sirko d264ea0899 now properly getting the CR URL 2024-01-26 13:05:35 -05:00
boxofyellow 9189d9269d Remove the problematic test for really-realls 2024-01-26 16:34:43 +00:00
Edwin Sirko 983c5e7554 v0.0.67: revert that stuff 2024-01-26 16:34:40 +00:00
Edwin Sirko 7269b88cd7 v0.0.66: testing something dumb 2024-01-26 16:34:39 +00:00
Edwin Sirko 2016180627 v0.0.64: got rid of registry input 2024-01-26 16:34:39 +00:00
Edwin Sirko 94d1a57d98 v0.0.62: created generate-new-version.sh 2024-01-26 16:34:39 +00:00
Edwin Sirko 4772dbfcc0 v0.0.60: why didn't it print 2024-01-26 16:34:39 +00:00
Edwin Sirko d5e6f39e19 v0.0.59: try this 2024-01-26 16:34:39 +00:00
Edwin Sirko 5d36b1908c v0.0.58: try this 2024-01-26 16:34:38 +00:00
Edwin Sirko 475c9db7d7 v0.0.57: this probably won't work 2024-01-26 16:34:38 +00:00
Edwin Sirko 86588e3791 v0.0.56: style 2024-01-26 16:34:38 +00:00
Edwin Sirko 995b9bd0a1 v0.0.55: get rid of an extraneous await 2024-01-26 16:34:38 +00:00
Edwin Sirko 120663b080 v0.0.53 2024-01-26 16:34:38 +00:00
Edwin Sirko 9853dad78c v0.0.53: attempted fix 2024-01-26 16:34:38 +00:00
Edwin Sirko bb84d03b7e v0.0.52: fetch CR URL 2024-01-26 16:34:37 +00:00
David Daly 79314de299 Refactor into a composite action and integrate with generate-build-provenance action
- Refactor the action from a 'node' action to a 'composite' action
- Create and output a sha256 hash of the image manifest
- Update action inputs & outputs
- Integrate with the 'generate-build-provenance' action as part of the composite action
2024-01-26 16:34:37 +00:00
Conor Sloan 6c4739c768 Sanitize repo name when including in a layer title
These titles were previously including the filename as {org}/{repo}_{version} which means when clients download the layer they think it needs to be unwrapped into a folder called {org}.
This is not what we want, so we should instead rename the file as {org}-{repo}_{version}. e.g. from myorg/myrepo_myversion.zip to myorg-myrepo_myversion.zip
2023-11-23 14:37:29 +00:00
Conor Sloan c2bb735a45 add support for multiple paths in path input variable
This allows users to provide multiple filepaths to include in their action, whether they're files or folders.
2023-11-22 16:02:01 +00:00
Conor Sloan a45c53b2f2 add test case for semver formats 2023-11-22 14:25:27 +00:00
Conor Sloan 7c7ef462b7 fix or disable linting in fs-helper
There is a bit of a catch-22 bere where the createArchives function should not use .then and .catch in favour of async/await according to the linter, but can't use async/await because it's discouraged to make new promise executor functions async. There is a hacky workaround to make this work, but it seems like it isn't worth making the code more fragmented, so i just disabled the linter for these lines.
2023-11-22 13:03:09 +00:00
Conor Sloan ffca16d01f fix low hanging fruit linter errors 2023-11-22 12:41:53 +00:00
Conor Sloan 8f0926c56a initial mvp version 2023-11-17 20:04:42 +00:00