Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relative path for dest is diffucult to work with. #6

Open
RonanMacF opened this issue Jul 13, 2021 · 1 comment
Open

Relative path for dest is diffucult to work with. #6

RonanMacF opened this issue Jul 13, 2021 · 1 comment

Comments

@RonanMacF
Copy link

Relaytive to what working directory?

# workflow tasks
jobs:
  generate:
    name: Generate cross-platform builds
    runs-on: ubuntu-latest
    steps:
      - name: Checkout the repository
        uses: actions/checkout@v2
      - name: Generate build files
        uses: thatisuday/go-cross-build@v1
        with:
            platforms: 'linux/amd64, darwin/amd64, windows/amd64'
            package: 'cmd/<pkg>'
            name: 'program'
            compress: 'true'
            dest: 'dist'

Is what I am using but after it runs successfully I don't see any dist folder. What I expect is a dist folder to be in the repo with the three platforms compressed in it. Instead I don't see anything. I have tried variations of .., ../dist, . and nothing makes them appear

@Fyb3roptik
Copy link

Thats because it adds it not to the repo, but to the bot running the deploy. You need to add a release action to grab whats in dest and release it. softprops/action-gh-release is what youre looking for

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants