Giter Site home page Giter Site logo

Comments (3)

caarlos0 avatar caarlos0 commented on June 11, 2024

assuming defaults, they are stored under ./dist

you can also read dist/artifacts.json to get the path of each individual binary (there might be more types of files there).

I recommend you run goreleaser locally (e.g. goreleaser release --clean --snapshot) to try it out.

from goreleaser-action.

shawnchapla-8451 avatar shawnchapla-8451 commented on June 11, 2024

Thanks for your reply. After running GoReleaser as a GH action, the new files are visible in the releases section of the repo, but there is no ./dist folder accessible by other GHA tasks. I'm using it as documented by HashiCorp:

      - name: Run GoReleaser
        uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 # v5.0.0
        with:
          version: latest
          args: release --clean
        env:
          # GitHub sets the GITHUB_TOKEN secret automatically.
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}

from goreleaser-action.

shawnchapla-8451 avatar shawnchapla-8451 commented on June 11, 2024

Never mind ... I'm new to GH Actions so its concept of "scope" is one with which I'm not familiar. I see now that the ./dist folder only exists when the job with the goreleaser task is still "active", then disappears again once the job ends. So any upload of artifacts has to be in that same job.

from goreleaser-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.