@@ -100,7 +100,7 @@ jobs:
100100 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
101101 with :
102102 script : |
103- const response = await github.repos.createRelease({
103+ const response = await github.rest. repos.createRelease({
104104 owner: context.repo.owner,
105105 repo: context.repo.repo,
106106 tag_name: context.ref,
@@ -120,7 +120,7 @@ jobs:
120120 const path = 'all/target/acm.all-${{ env.VERSION }}.zip';
121121 const stat = fs.statSync(path);
122122 const file = fs.readFileSync(path);
123- await github.repos.uploadReleaseAsset({
123+ await github.rest. repos.uploadReleaseAsset({
124124 url: '${{ steps.create_release.outputs.upload_url }}',
125125 headers: {
126126 'content-type': 'application/zip',
@@ -140,7 +140,7 @@ jobs:
140140 const path = 'min/target/acm.min-${{ env.VERSION }}.zip';
141141 const stat = fs.statSync(path);
142142 const file = fs.readFileSync(path);
143- await github.repos.uploadReleaseAsset({
143+ await github.rest. repos.uploadReleaseAsset({
144144 url: '${{ steps.create_release.outputs.upload_url }}',
145145 headers: {
146146 'content-type': 'application/zip',
@@ -160,7 +160,7 @@ jobs:
160160 const path = 'ui.content.example/target/acm.ui.content.example-${{ env.VERSION }}.zip';
161161 const stat = fs.statSync(path);
162162 const file = fs.readFileSync(path);
163- await github.repos.uploadReleaseAsset({
163+ await github.rest. repos.uploadReleaseAsset({
164164 url: '${{ steps.create_release.outputs.upload_url }}',
165165 headers: {
166166 'content-type': 'application/zip',
@@ -180,7 +180,7 @@ jobs:
180180 const path = 'core/target/acm.core-${{ env.VERSION }}.jar';
181181 const stat = fs.statSync(path);
182182 const file = fs.readFileSync(path);
183- await github.repos.uploadReleaseAsset({
183+ await github.rest. repos.uploadReleaseAsset({
184184 url: '${{ steps.create_release.outputs.upload_url }}',
185185 headers: {
186186 'content-type': 'application/java-archive',
0 commit comments