Skip to content

Publish release version #6

Publish release version

Publish release version #6

name: Publish release version
on:
push:
tags: ["v*.*.*"]
jobs:
build:
uses: ./.github/workflows/build-and-test.yml
publish-release:
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 }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
# NOTE: Submodule to get license and changelog from hylo-vscode-extension
submodules: 'true'
- name: Download VSCode extension artifact
id: download-artifact
uses: dawidd6/action-download-artifact@v2
with:
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: |
hylo-vscode-extension/CHANGELOG.md
hylo-vscode-extension/LICENSE
hylo-vscode-extension/hylo-lang-0.5.0.vsix