diff --git a/.github/workflows/sync-build-release-all.yml b/.github/workflows/sync-build-release-all.yml index 1e79e54..db558f5 100644 --- a/.github/workflows/sync-build-release-all.yml +++ b/.github/workflows/sync-build-release-all.yml @@ -9,7 +9,7 @@ jobs: vscode-js-debug: uses: ./.github/workflows/sync-build-release.yml - + with: upstream: microsoft/vscode-js-debug repository: vscode-js-debug @@ -17,7 +17,7 @@ jobs: build: | npm install --legacy-peer-deps - node_modules/.bin/gulp vsDebugServerBundle + node_modules/.bin/gulp vsDebugServerBundle mv dist extension zip -r extension.vsix extension @@ -37,7 +37,7 @@ jobs: ./node_modules/.bin/gulp installPythonLibs npm run package mv ms-python-insiders.vsix extension.vsix - + secrets: token: ${{ secrets.PUSH_TOKEN }} @@ -53,7 +53,7 @@ jobs: npm install --legacy-peer-deps npm run build npm run package -- -o extension.vsix - + secrets: token: ${{ secrets.PUSH_TOKEN }} @@ -68,10 +68,11 @@ jobs: build: | sudo apt-get install erlang-dev sudo apt-get install elixir - mix local.hex --force npm install + mix deps.get + MIX_ENV=prod mix compile npx vsce package -o extension.vsix - + secrets: token: ${{ secrets.PUSH_TOKEN }} @@ -86,6 +87,6 @@ jobs: build: | npm install npx vsce package -o extension.vsix - + secrets: token: ${{ secrets.PUSH_TOKEN }} diff --git a/.github/workflows/sync-build-release.yml b/.github/workflows/sync-build-release.yml index 1acd0d1..f8f69b2 100644 --- a/.github/workflows/sync-build-release.yml +++ b/.github/workflows/sync-build-release.yml @@ -21,7 +21,7 @@ on: description: 'bash script for building extension into extension.vsix' required: true type: string - + secrets: token: description: 'The github token for syncing tags/releasing etc' @@ -33,13 +33,13 @@ jobs: steps: # sync tags with forked repo - - + - uses: actions/checkout@v3 with: repository: daveleroy/${{ inputs.repository }} token: ${{ secrets.token }} - - + - shell: bash run: | git config user.name github-actions @@ -60,22 +60,22 @@ jobs: - id: releases continue-on-error: true - + uses: oprypin/find-latest-tag@v1.1.0 with: repository: daveleroy/${{ inputs.repository }} prefix: ${{ inputs.tag_prefix }} releases-only: true - + # Checkout the repo at the correct tag - - + - if: ${{ steps.tags.outputs.tag != steps.releases.outputs.tag }} uses: actions/checkout@v2 with: repository: daveleroy/${{ inputs.repository }} ref: ${{ steps.tags.outputs.tag }} - submodules: true + submodules: recursive # Build @@ -104,10 +104,10 @@ jobs: # Upload Asset To Release - - + - if: ${{ steps.tags.outputs.tag != steps.releases.outputs.tag }} - id: upload-release-asset + id: upload-release-asset uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.token }} @@ -116,4 +116,3 @@ jobs: asset_path: ./extension.vsix asset_name: ${{ inputs.repository }}.vsix asset_content_type: application/zip -