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

feat: add release workflow #2

Merged
merged 3 commits into from
Jul 19, 2023
Merged

Conversation

getchoo
Copy link
Collaborator

@getchoo getchoo commented Jul 19, 2023

this adds a release workflow that creates a tag as small as possible - which is great for keeping the download for the action fast. you can find an example here

it also removes the need to continuously update dist/, adopts standard versioning for the project, and requires 0 maintenance besides creating the release! the only drawback is that it combines index.ts and post.ts again :p

we can also see if the new nix cli fixes the issues in the test workflow...but idk /shrug

edit: and tests wont run on prs now since we need secrets, and prs don't have those :/

action.yml Show resolved Hide resolved
import { push } from "./stages/push.ts";
import { getState, saveState } from "@actions/core";

const isPost = !!getState("isPost");
Copy link
Owner

Choose a reason for hiding this comment

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

unnecessary

Copy link
Collaborator Author

@getchoo getchoo Jul 19, 2023

Choose a reason for hiding this comment

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

can typescript really automatically convert from string to boolean by itself? 🤔

@ryanccn ryanccn changed the title Release action feat: add elease action Jul 19, 2023
@ryanccn ryanccn changed the title feat: add elease action feat: add release action Jul 19, 2023
@ryanccn ryanccn changed the title feat: add release action feat: add release workflow Jul 19, 2023
@ryanccn ryanccn merged commit a9de674 into ryanccn:main Jul 19, 2023
@getchoo getchoo deleted the release-action branch July 19, 2023 02:53
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.

2 participants