Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
koliyo committed Oct 1, 2023
1 parent bb81bec commit 29e3885
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 29 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ name: Build and test
on:
workflow_call:
push:
tags: ["v*.*.*"]
# tags: ["v*.*.*"]
branches: [ main ]
paths-ignore:
- "Docs/**"
Expand All @@ -41,16 +41,7 @@ on:
jobs:
package-vscode-extension:
name: "Package VSCode extension"
strategy:
fail-fast: false
matrix:
host: [
{
type: linux, os: ubuntu-latest,
}
]

runs-on: ${{ matrix.host.os }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
21 changes: 3 additions & 18 deletions .github/workflows/publish-release-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,9 @@ jobs:
build:
uses: ./.github/workflows/build-and-test.yml
publish-release:
name: "Publish release version"
needs: [build]
strategy:
fail-fast: false

matrix:
host: [
{
type: macos, os: macos-13,
build-options: "--build-tests -Xswiftc -enable-testing",
# No coverage support on MacOS
test-options: "-v"
}
]

runs-on: ${{ matrix.host.os }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -34,13 +22,10 @@ jobs:
workflow: build-and-test.yml
name: vscode-extension-artifacts

- name: Display structure of downloaded files
run: ls -R

- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
CHANGELOG.md
LICENSE
vscode-extension-artifacts/*.vsix
*.vsix

0 comments on commit 29e3885

Please sign in to comment.