Rate-limit fix for macos maybe?
This commit is contained in:
parent
c2acb0d0f6
commit
7aa96a3c48
1 changed files with 2 additions and 5 deletions
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
|
|
@ -54,12 +54,11 @@ jobs:
|
|||
id: latest_release
|
||||
uses: pozetroninc/github-action-get-latest-release@master
|
||||
with:
|
||||
repo-token: ${{secrets.GITHUB_TOKEN}}
|
||||
github-token: ${{secrets.GITHUB_TOKEN}}
|
||||
owner: oitsjustjose
|
||||
repo: MinecraftOreTextureGenerator
|
||||
excludes: draft
|
||||
# - name: Put Newest Release in Environment
|
||||
# run: |
|
||||
# echo "{release_id}={steps.latest_release.outputs.id}" >> $GITHUB_ENV
|
||||
- name: Create Release
|
||||
uses: actions/github-script@v2
|
||||
env:
|
||||
|
|
@ -67,8 +66,6 @@ jobs:
|
|||
with:
|
||||
github-token: ${{secrets.GITHUB_TOKEN}}
|
||||
script: |
|
||||
console.log(process.env)
|
||||
console.log('${{env.RELEASE_ID}}')
|
||||
const fs = require('fs').promises;
|
||||
for (let file of await fs.readdir('./dist')) {
|
||||
console.log('uploading', `./dist/${file}`);
|
||||
|
|
|
|||
Loading…
Reference in a new issue