Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload failed #16

Open
JaapWeijland opened this issue Aug 29, 2023 · 2 comments
Open

Upload failed #16

JaapWeijland opened this issue Aug 29, 2023 · 2 comments

Comments

@JaapWeijland
Copy link

Hi there,

I run a workflow with this action every morning to backup a database. After a year and a half of running, suddenly the action stopped working. The error I get is:

Uploading file to Goole Drive...
Error: Upload failed

Along with the code inside /dist/index.js. I cannot trace what really the problem is. I already refreshed the key of the service account (which was not expired in the first place), but to no avail. Is there some way I can get to know what the real issue is here?

@navaghandabhi
Copy link

navaghandabhi commented Feb 26, 2024

i have same issue

this is my code

  - name: Checkout
    uses: actions/checkout@v4
  - name: Upload README.md to Google Drive
    uses: Jodebu/upload-to-drive@master
    with:
      target: README.md
      credentials: ${{ secrets.SERVICE_KEY }}
      folder: ${{ secrets.FOLDER_ID }}

this is the error

Run Jodebu/upload-to-drive@master

Warning: The set-output command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Uploading file to Goole Drive...
Error: Upload failed

/home/runner/work/_actions/Jodebu/upload-to-drive/master/dist/index.js:1
module.exports=function(e,t){"use strict";var s={};function webpack_require(t){if(s[t]){return s[t].exports}var r=s[t]={i:t,l:false,exports:{}};var o=true;try{e[t].call(r.exports,r,r.exports,webpack_require);o=false}finally{if(o)delete s[t]}r.l=true;return r.exports}webpack_require.ab=__dirname+"/";function startup(){return webpack_require(104)}t(webpack_require);return startup()}([function(e,t,s){var r=s(239);s(220);s(152);var o=e.exports=r.hmac=r.hmac||{};o.create=function(){var e=null;var t=null;var s=null;var o=null;var n={};n.start=function(n,i){if(n!==null){if(typeof n==="string"){n=n.toLowerCase();if(n in r.md.algorithms){t=r.md.algorithms[n].create()}else{throw new Error('Unknown hash algorithm "'+n+'"')}}else{t=n}}if(i===null){i=e}else{if(typeof i==="string"){i=r.util.createBuffer(i)}else if(r.util.isArray(i)){var c=i;i=r.util.createBuffer();for(var u=0;u<c.length;++u){i.putByte(c[u])}}var a=i.length();if(a>t.blockLength){t.start();t.update(i.bytes());i=t.digest()}s=r.util.createB

@ASLH68
Copy link

ASLH68 commented Nov 4, 2024

i have same issue

this is my code

  - name: Checkout
    uses: actions/checkout@v4
  - name: Upload README.md to Google Drive
    uses: Jodebu/upload-to-drive@master
    with:
      target: README.md
      credentials: ${{ secrets.SERVICE_KEY }}
      folder: ${{ secrets.FOLDER_ID }}

this is the error

Run Jodebu/upload-to-drive@master

Warning: The set-output command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ Uploading file to Goole Drive... Error: Upload failed /home/runner/work/_actions/Jodebu/upload-to-drive/master/dist/index.js:1 module.exports=function(e,t){"use strict";var s={};function webpack_require(t){if(s[t]){return s[t].exports}var r=s[t]={i:t,l:false,exports:{}};var o=true;try{e[t].call(r.exports,r,r.exports,webpack_require);o=false}finally{if(o)delete s[t]}r.l=true;return r.exports}webpack_require.ab=__dirname+"/";function startup(){return webpack_require(104)}t(webpack_require);return startup()}([function(e,t,s){var r=s(239);s(220);s(152);var o=e.exports=r.hmac=r.hmac||{};o.create=function(){var e=null;var t=null;var s=null;var o=null;var n={};n.start=function(n,i){if(n!==null){if(typeof n==="string"){n=n.toLowerCase();if(n in r.md.algorithms){t=r.md.algorithms[n].create()}else{throw new Error('Unknown hash algorithm "'+n+'"')}}else{t=n}}if(i===null){i=e}else{if(typeof i==="string"){i=r.util.createBuffer(i)}else if(r.util.isArray(i)){var c=i;i=r.util.createBuffer();for(var u=0;u<c.length;++u){i.putByte(c[u])}}var a=i.length();if(a>t.blockLength){t.start();t.update(i.bytes());i=t.digest()}s=r.util.createB

Did you ever fix this? I'm having the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants