GithubHelp home page GithubHelp logo

upload-to-drive's People

Contributors

jodebu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

upload-to-drive's Issues

Unexpected Token in Json

SyntaxError: Unexpected token � in JSON at position 0
    at JSON.parse (<anonymous>)
    at Object.<anonymous> (/home/runner/work/_actions/Jodebu/upload-to-drive/master/dist/index.js:1:412513)
    at __webpack_require__ (/home/runner/work/_actions/Jodebu/upload-to-drive/master/dist/index.js:1:169)

I am getting this error, even tho I am using a Base64 encoded json in the same format as you are

Add notInclude input

maybe create something like this

name: Store public in Drive
on:
  push: { branches: [master] }
jobs:
  buildAndTestForSomePlatforms:
    name: Upload public to drive
    runs-on: ubuntu-latest
    steps:
      # Checkout
      - name: Checkout repository
        uses: actions/checkout@v2
      # Upload to Drive
      - name: Upload public folder to Google Drive
        uses: Jodebu/upload-to-drive@master
        id: driveUpload
        with:
          target: public
          notInclude: docs
          credentials: secrets.<YOUR_DRIVE_CREDENTIALS>
          folder: <YOUR_DRIVE_FOLDER_ID>

So I would really appreciate to have a paramter which will not include a specifc folder of file

set-output command is deprecated

Can you please fix this warning?

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/

Support for windows based job is missing

I have a job in the workflow that runs on a windows machine. In this job I build a wpf windows application.
I would like to add a step in that job that deploys the build artifacts to Google Drive.
Unfortunately, this provided GitHub Action does not work in a windows based job.
Can we have this Github Action to work also in a windows based job?

Would it be possible to get another output: the link to the uploaded file?

Thanks for this action, I tried several that does this same thing, and this is my favorite.
I tested the existing output link, it points to the folder which the file is uploaded to, not the uploaded file itself.
That's not a problem, but it would be very useful to get a link to the uploaded file as well.
Would it be possible to get that as another output?

Upload failed

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.