diff options
| author | Daniel Gavin <danielgavin5@hotmail.com> | 2021-09-28 15:31:19 +0200 |
|---|---|---|
| committer | Daniel Gavin <danielgavin5@hotmail.com> | 2021-09-28 15:31:19 +0200 |
| commit | 8f0825050ca53c25cba69887ea36bb3bca4130a6 (patch) | |
| tree | f1d23b21d1c2dae8b0218f644b69f48181ac2d74 | |
| parent | b99eb75908304d84fbc729ea4209642bb3d82a1c (diff) | |
| parent | 979ecf91bd17e1867c1e61e788505d504affd601 (diff) | |
Merge branch 'master' of github.com:DanielGavin/ols
| -rw-r--r-- | .github/actions/github-release/main.js | 10 | ||||
| -rw-r--r-- | README.md | 2 |
2 files changed, 9 insertions, 3 deletions
diff --git a/.github/actions/github-release/main.js b/.github/actions/github-release/main.js index a08e59a..81a5b16 100644 --- a/.github/actions/github-release/main.js +++ b/.github/actions/github-release/main.js @@ -77,12 +77,18 @@ async function runOnce() { // Upload all the relevant assets for this release as just general blobs. for (const file of glob.sync(files)) { const size = fs.statSync(file).size; + const name = path.basename(file); + const uri = release.data.upload_url; core.info(`upload ${file}`); + core.info(`name ${name}`); + core.info(`uri ${uri}`); await octokit.repos.uploadReleaseAsset({ + owner, + repo, data: fs.createReadStream(file), headers: { 'content-length': size, 'content-type': 'application/octet-stream' }, - name: path.basename(file), - url: release.data.upload_url, + name: name, + url: uri, }); } } @@ -1,7 +1,7 @@ # ols Language server for Odin. This project is still in early development. -**Status**: All platforms work. +**Status**: No platforms work after Odin update. I'll have to look into this. Please use Odin commit version 05ac2002e0296c3acccca1d8cffaafb002e43120.  ## Table Of Contents |