(experiment) use and try another way of executing scripts

This commit is contained in:
Peter Squicciarini 2020-10-05 16:31:17 -07:00
parent 138269d3cf
commit 4c7c82fe06
No known key found for this signature in database
GPG key ID: 08B897BCAB6763CB
3 changed files with 6 additions and 12 deletions

View file

@ -39,23 +39,13 @@ jobs:
with:
node-version: 12.14.1
- name: Debug
run: |
ls -al
ls /__w
- name: Clone VSCode repo
run: |
. get_repo.sh
echo "::set-env name=LATEST_MS_TAG::$LATEST_MS_TAG"
echo "::set-env name=LATEST_MS_COMMIT::$LATEST_MS_COMMIT"
run: ./get_repo.sh
- name: Check existing VSCodium tags/releases
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
. check_tags.sh
echo "::set-env name=SHOULD_BUILD::$SHOULD_BUILD"
run: ./check_tags.sh
- name: Build
env:

View file

@ -69,3 +69,4 @@ if [ "$GITHUB_TOKEN" != "" ]; then
fi
fi
echo "SHOULD_BUILD=$SHOULD_BUILD" >> $GITHUB_ENV

View file

@ -8,3 +8,6 @@ echo "Got the latest MS tag: ${LATEST_MS_TAG}"
git clone https://github.com/Microsoft/vscode.git --branch $LATEST_MS_TAG --depth 1
echo "LATEST_MS_COMMIT=$LATEST_MS_COMMIT" >> $GITHUB_ENV
echo "LATEST_MS_TAG=$LATEST_MS_TAG" >> $GITHUB_ENV