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

Upload home-manager generated configs as an artifact #534

Merged
merged 1 commit into from
Mar 31, 2024

Conversation

kachick
Copy link
Owner

@kachick kachick commented Mar 31, 2024

Preparation part for #532

Resolves #243

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: 'home-files-${{ github.sha }}-${{ runner.os }}'
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefer actions runner rather than container ci/cd for getting macos generations

@kachick
Copy link
Owner Author

kachick commented Mar 31, 2024

🎉 Much useful!(I should implement this in early phase...)

Copy link
Contributor

⬢🦭 Staging container-image has been deployed 🚀
You can test the interactive shell 🐚 as follows.

bash <(curl -fsSL 'https://raw.githubusercontent.com/kachick/dotfiles/d934d8969ed4c7a13a87ccfff1f32e693c21e92f/containers/sandbox-with-ghcr.bash') 'd934d8969ed4c7a13a87ccfff1f32e693c21e92f'

The package detail

{
  "created_at": "2024-03-31T19:07:32Z",
  "html_url": "https://github.com/users/kachick/packages/container/home/197855313",
  "id": 197855313,
  "metadata": {
    "container": {
      "tags": [
        "20240331-190252-utc",
        "d934d8969ed4c7a13a87ccfff1f32e693c21e92f",
        "pr-534-d934d8969ed4c7a13a87ccfff1f32e693c21e92f"
      ]
    },
    "package_type": "container"
  },
  "name": "sha256:5eac28235a5726a2a68cb73ff28f1cc809e350b3d66e28d17605aec9fdac721f",
  "package_html_url": "https://github.com/users/kachick/packages/container/package/home",
  "updated_at": "2024-03-31T19:07:32Z",
  "url": "https://api.github.com/users/kachick/packages/container/home/versions/197855313"
}

This image will be automatically 🤖 removed from ghcr.io 🗑️ if you merged/closed this PR 😌

@kachick
Copy link
Owner Author

kachick commented Mar 31, 2024

Posting as a PR comments and/or releasing as #417 may be better.
But that is another task 😋

@kachick kachick merged commit b0dfe2f into main Mar 31, 2024
12 checks passed
@kachick kachick deleted the upload-home-manager-generated-configs-to-github branch March 31, 2024 19:09
Copy link
Contributor

🤖 removed 🗑️ staging ⬢ from ghcr.io

197855313

This was referenced Mar 31, 2024
kachick added a commit that referenced this pull request Mar 31, 2024
In these days, basically using alacritty
The TOML config will fit for dotfiles management

Thank you iTerm2 in this long years!

---

I noticed, #534 generate large file only for darwin
It looks like from iTerm2 configurations, so drop iTerm2 in this timing...

And so, iTerm2 has self updater, nix and dotfiles management will not fit
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

Successfully merging this pull request may close these issues.

Upload generated configs as a GitHub artifact
1 participant