Giter Site home page Giter Site logo

electron-forge-publisher-google-storage's Introduction

Linear logo

Linear API

The issue tracking tool you'll enjoy using

Linear helps streamline software projects, sprints, tasks, and
bug tracking. It's built for high-performance teams.

Linear is released under the MIT license. Build github action status. Release github action status. Schema github action status. Dependencies github action status.


⚠️ Monorepo Readme

If you are looking for documentation on the Linear SDK or Linear API visit developers.linear.app instead.

The Linear Client uses custom GraphQL Code Generator plugins to produce a typed SDK for all operations and models exposed by the Linear production API.

Structure

This monorepo uses yarn workspaces and lerna to publish packages.

Generated code uses file prefix _generated and should never be manually updated.

Open source packages:

  • sdk - The Linear Client SDK for interacting with the Linear GraphQL API
  • import - Import tooling for uploading from other systems
  • codegen-doc - GraphQL codegen plugin to generate GraphQL fragments and documents
  • codegen-sdk - GraphQL codegen plugin to generate Typescript SDK from fragments and documents
  • codegen-test - GraphQL codegen plugin to generate a jest test for the Typescript SDK

Get Started

# install dependencies
yarn

# link package dependencies
yarn bootstrap

# build all packages
yarn build

# test all packages
yarn test

# update the schema from the production API
yarn schema

# create changeset for generating CHANGELOG.md
yarn changeset

Plugin Flow

  1. The @linear/codegen-doc plugin is used by codegen.doc.yml to generate fragments and documents
  2. The @linear/codegen-sdk plugin is used by codegen.sdk.yml to generate the typed Linear SDK
  3. The @linear/codegen-test plugin is used by codegen.test.yml to generate a typed jest test

License


Licensed under the MIT License.

electron-forge-publisher-google-storage's People

Contributors

jorilallo avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

electron-forge-publisher-google-storage's Issues

GitHub Actions Build Failing For Windows

I'm building an Electron app with Forge, and I found this library for uploading packages to a Google Storage bucket. This seems like a great approach for starting out with Electron auto-updates, so thanks for writing it!

Both our macOS and Linux (Ubuntu) builds finish without a hitch, and I'm seeing the installers get uploaded to Google Storage. There seems to be an issue on our Windows build though. Here's the error we're getting when trying to run electron-forge publish within GitHub Actions:

An unhandled rejection has occurred inside Forge:
ResumableUploadError: A resumable upload could not be performed. The directory, C:\Users\runneradmin\.config, is not writable. You may try another upload, this time setting `options.resumable` to `false`.
    at D:\a\myproject\myproject\node_modules\@google-cloud\storage\build\src\file.js:1232:39
    at FSReqCallback.oncomplete (fs.js:156:23)

I tried to fork this project and set resumable: false in the call to bucket.upload(), but that didn't seem to do anything...

diff --git a/src/PublisherGoogleStorage.ts b/src/PublisherGoogleStorage.ts
index 164e5d1..b2fff53 100644
--- a/src/PublisherGoogleStorage.ts
+++ b/src/PublisherGoogleStorage.ts
@@ -73,6 +73,7 @@ export default class PublisherGoogleStorage {
         await bucket.upload(artifact.path, {
           gzip: true,
           destination,
+          resumable: false,
           metadata: {
             "cache-control": "public, max-age=31536000" // 1 year
           },

Not sure where to turn from here. Has anyone else had this issue?

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.