Skip to content

Document what this action actually does #40

@fingolfin

Description

@fingolfin

We should document what this action does, in particular:

  1. which information it takes from PackageInfo.g and how it uses that
  2. (this includes the hint how we decide which archives types to create!)
  3. that we invoke autogen.sh (something we might reconsider in v4 ?)
  4. which files we copy or don't copy
  5. where the tarballs are uploaded (to a GitHub release!)
  6. that this action does not update a website, deliberately, but that one can use the update-gh-pages action to do that (and that it is separate to enable power users to host their package website elsewhere)

On point 4, I just noticed we do this:

    - name: "Make copy of package"
      shell: bash
      run: |
        mkdir -p "$RUNNER_TEMP/$BASENAME"
        cp -r * "$RUNNER_TEMP/$BASENAME"

Doesn't this mean we only copy files matched by * in the current dir, and hence won't copy files like .gitignore or the .github subdir? I guess that could be a feature, but (a) one we should document and (b) then we also don't need to worry about deleting those dotfiles in the very next step :-)

Perhaps I am missing something?

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