Output result as text/json in addition to text/markdown #137
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
package: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: DeterminateSystems/nix-installer-action@v4 | |
- uses: DeterminateSystems/magic-nix-cache-action@v2 | |
- run: nix build | |
- name: Prepare to upload | |
run: cp result sqlnotebook-${{ github.sha }}.vsix | |
- name: Upload vsix as artifact | |
uses: actions/upload-artifact@v1 | |
with: | |
name: sqlnotebook-${{ github.sha }}.vsix | |
path: sqlnotebook-${{ github.sha }}.vsix |