From 7aa96a3c4852ccc3955adb6673639d04454f277e Mon Sep 17 00:00:00 2001 From: oitsjustjose Date: Tue, 7 Jun 2022 11:36:57 -0500 Subject: [PATCH] Rate-limit fix for macos maybe? --- .github/workflows/build.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 01ffeb1..81728e6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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}`);