Skip to content

[Feature request] Support output directory per job #304

@eximius313

Description

@eximius313

Currently, fastforge supports the output directory only at the global configuration level. This makes it difficult to separate artifacts when different jobs within the same release should produce outputs in different locations (e.g. per platform).

Defining output on a job level is currently ignored / unsupported:

output: ../dist/
releases:
  - name: dev
    jobs:
      - name: release-dev-windows-exe
        output: ../other_dist/ # not supported
        package:
          platform: windows
          target: exe

Proposal

Please allow output to be defined per job.

Behavior:

  • jobs[].output overrides the global output
  • if not defined, the global output is used

Benefits

  • more flexible artifact organization
  • easier multi-platform and multi-target builds
  • backward compatible (no breaking changes)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions