Comments (3)
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.
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.
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)
- cannot find GoReleaser latest version HOT 18
- The process '/opt/hostedtoolcache/goreleaser-action/1.15.2/x64/goreleaser' failed with exit code 1 HOT 7
- GoReleaser Action not working with `ldflag` HOT 4
- YAML parse error when .goreleaser.yml contains anchor HOT 3
- Env variables not available in post-build hooks HOT 2
- accept goreleaser configuration file as a parameter HOT 3
- How can i specific file into released archive file HOT 2
- latest reports the previous version HOT 1
- Is that possible to publish archive files into the release drafter HOT 1
- Duplicate: Add config file to GitHub action HOT 2
- Github action - error=hook failed: go mod tidy - when code built with Go version 1.21.0 HOT 1
- Cannot use SSH private key secret as it is being treated as filename HOT 2
- Release Failure with Official Versions using GoReleaser Action v4 HOT 4
- Github: release notes no longer generated HOT 2
- release flag doesn't work `--release-header` HOT 1
- How can I use goreleaser from master? HOT 3
- Is there a way to avoid fetch-depth:0 HOT 2
- Inconsistent output between local run and action run HOT 4
- GoReleaser action upgraded GoReleaser to v2 despite pinned tag at action v4. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goreleaser-action.