Skip to content

Read from version file atmos-version-file #97

@nitrocode

Description

@nitrocode

Have a question? Please checkout our Slack Community or visit our Slack Archive.

Slack Community

Describe the Feature

Similar to https://github.com/actions/setup-python/blob/main/docs/advanced-usage.md#using-the-python-version-file-input

I have the atmos version supplied in multiple places. It would be nice to have it in a single place such as with a .python-version file or .atmos-version file or perhaps support the asdf file .tool-versions

e.g.

  - name: Setup atmos
    uses: cloudposse/github-action-setup-atmos@v2
    with:
      install-wrapper: true
      atmos-version-file: .atmos-version

Expected Behavior

Centralized place for atmos version

Use Case

See above

Describe Ideal Solution

See above

Alternatives Considered

Create a repo .atmos-version
Use a github action to read its contents and save the version to an output
Then read the output in this action

Additional Context

N/A

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