Giter VIP home page Giter VIP logo

Comments (9)

wangyoucao577 avatar wangyoucao577 commented on May 18, 2024 1

With the latest version wangyoucao577/[email protected], now you can use compress_assets: false.

from go-release-action.

pablodz avatar pablodz commented on May 18, 2024

Thanks

from go-release-action.

pablodz avatar pablodz commented on May 18, 2024

Check this log https://github.com/pablodz/sherlockgo/actions/runs/2580710135

This is mi config yaml https://github.com/pablodz/sherlockgo/blob/main/.github/workflows/release.yml


+ GITHUB_ASSETS_UPLOADR_EXTRA_OPTIONS=
+ '[' FALSE == TRUE ']'
+ github-assets-uploader -logtostderr -f sherlockgo-v0.0.11-5-linux-386 -mediatype application/octet-stream -repo pablodz/sherlockgo -token *** -tag=v0.0.11-5 -releasename= -retry 3
W0629 04:32:50.724674    1364 main.go:58] Upload asset error, will retry in 3s: open sherlockgo-v0.0.11-5-linux-386: no such file or directory
W0629 04:32:53.836824    1364 main.go:58] Upload asset error, will retry in 3s: open sherlockgo-v0.0.11-5-linux-386: no such file or directory
E0629 04:32:56.939555    1364 main.go:21] open sherlockgo-v0.0.11-5-linux-386: no such file or directory

from go-release-action.

wangyoucao577 avatar wangyoucao577 commented on May 18, 2024

It's a bug that binary can not be found if it has different name of asset_name after disable compression. I will fix it later.

For now, you can try out workaround as below:

    binary_name: sherlockgo-${{ matrix.goos }}-${{ matrix.goarch }}
    asset_name: sherlockgo-${{ matrix.goos }}-${{ matrix.goarch }}

By the way, currently extra_files will NOT be handled if compression disabled.

from go-release-action.

dclong avatar dclong commented on May 18, 2024

The tag "compress_asserts" doesn't seem to work.

from go-release-action.

hotrush avatar hotrush commented on May 18, 2024

@wangyoucao577 this workaround doesn't work for windows binaries because of exe extension

from go-release-action.

wangyoucao577 avatar wangyoucao577 commented on May 18, 2024

Try out wangyoucao577/[email protected] please!

from go-release-action.

hotrush avatar hotrush commented on May 18, 2024

It works, thanks 👍

from go-release-action.

pablodz avatar pablodz commented on May 18, 2024

It works, thanks x2

from go-release-action.

Related Issues (20)

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.