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

Add GitHub Actions workflow file option #188

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

badsyntax
Copy link

@badsyntax badsyntax commented Dec 9, 2019

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
Copy link
Contributor

aeschli commented Apr 3, 2020

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

@joaomoreno
Copy link
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
Copy link
Contributor

clarkio commented May 17, 2023

@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 :)

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.

None yet

4 participants