Skip to content

Commit 4e261b6

Browse files
authored
Modify GitHub Actions workflow to include script action
Added GitHub script action to workflow and commented out previous steps.
1 parent dc3c1aa commit 4e261b6

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/main.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,24 @@ jobs:
4444
# issue_title: ${{ github.event.issue.title }}
4545
# TEST: true
4646
steps:
47-
- uses: actions/checkout@main
47+
- uses: actions/github-script@main
4848
with:
49-
repository: xenia-canary/xenia-canary
49+
script: |
50+
console.log(context.event);
51+
# - uses: actions/checkout@main
52+
# with:
53+
# repository: xenia-canary/xenia-canary
5054
# - uses: actions/setup-python@main
5155
# with:
5256
# python-version: '3.x'
53-
- name: run
57+
# - name: run
5458
# env:
5559
# I_AM_BOOLEAN: ${{ inputs.I_AM_BOOLEAN }}
5660
# LC_ALL: C.UTF-8
5761
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5862
# shell: python
59-
run: |
60-
vswhere -version "[17,)" -latest -prerelease -format json -utf8 -products Microsoft.VisualStudio.Product.Enterprise Microsoft.VisualStudio.Product.Professional Microsoft.VisualStudio.Product.Community Microsoft.VisualStudio.Product.BuildTools
63+
# run: |
64+
# vswhere -version "[17,)" -latest -prerelease -format json -utf8 -products Microsoft.VisualStudio.Product.Enterprise Microsoft.VisualStudio.Product.Professional Microsoft.VisualStudio.Product.Community Microsoft.VisualStudio.Product.BuildTools
6165
# - name: Update wiki
6266
# env:
6367
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)