Skip to content

Add GitHub Actions workflow file option#188

Open
badsyntax wants to merge 2 commits into
microsoft:mainfrom
badsyntax:github-actions
Open

Add GitHub Actions workflow file option#188
badsyntax wants to merge 2 commits into
microsoft:mainfrom
badsyntax:github-actions

Conversation

@badsyntax

@badsyntax badsyntax commented Dec 9, 2019

Copy link
Copy Markdown

I was inspired by #165 to add a basic GitHub Actions workflow file.

This change adds a new option asking if a Github workflow file should be included.

The included workflow will test on all pushes, and publish on release (git tag), for the following types:

  • ext-command-ts
  • ext-command-js

The included workflow will just publish on release (git tag), for the following types:

  • ext-colortheme
  • ext-language
  • ext-snippets
  • ext-keymap
  • ext-extensionpack
  • ext-localization

The extension author then just needs to then add AZURE_TOKEN as a secret.

View an example workflow run here: https://github.com/badsyntax/vscode-generator-eslint-prettier-example/commit/83533b0082a00ffa91b91cd985f62739a5a2131a/checks?check_suite_id=349694101

@badsyntax badsyntax changed the title Add GitHub workflow file option Add GitHub Actions workflow file option Dec 9, 2019
@badsyntax badsyntax force-pushed the github-actions branch 2 times, most recently from 9f02882 to ff8c320 Compare December 9, 2019 19:11
@aeschli

aeschli commented Apr 3, 2020

Copy link
Copy Markdown
Collaborator

@joaomoreno You know more about CI scripts than me: If you could review, that would be great!

@joaomoreno

Copy link
Copy Markdown
Member

Sorry @aeschli I really don't know much about GH Actions. This looks like a cool addition though!

@joaomoreno joaomoreno removed their request for review April 6, 2020 07:06
Base automatically changed from master to main February 26, 2021 10:39
@clarkio

clarkio commented May 17, 2023

Copy link
Copy Markdown
Contributor

@joaomoreno @aeschli any interest in this still? It would be great to include scaffolding to help with steps to publish an extension.

I started down a path in creating my own template GitHub repository that includes pieces to cover that so I don't have to keep doing it manually. When I shared it more publicly it was suggested to look into including it in the generator which lead me to finding this PR :)

@Tjolk-072 Tjolk-072 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Great work, thank you very much.

@Tjolk-072 Tjolk-072 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Great work, thank you very much.

@Tjolk-072 Tjolk-072 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Great work, thank you very much.

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.

5 participants