This repository has been archived by the owner on May 2, 2024. It is now read-only.
(maint) Update actions/checkout digest to 0ad4b8f #168
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: | |
branches: | |
- main | |
- develop | |
- "feature/**" | |
- "release/**" | |
- "hotfix/**" | |
tags: | |
- "*" | |
paths-ignore: | |
- "README.md" | |
pull_request: | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ windows-2022 ] | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4 | |
- name: Fetch all tags and branches | |
run: git fetch --prune --unshallow | |
- name: Cache Tools | |
uses: actions/cache@v4 | |
with: | |
path: tools | |
key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }} | |
- name: Build project | |
shell: pwsh | |
run: | | |
.\build.ps1 --verbosity=diagnostic | |
- name: Upload Packages | |
uses: actions/upload-artifact@v4 | |
if: runner.os == 'Windows' | |
with: | |
if-no-files-found: warn | |
name: package | |
path: BuildArtifacts/**/*.vsix |