Skip to content

Commit

Permalink
Actions: Exclude pages artifact from releases
Browse files Browse the repository at this point in the history
  • Loading branch information
oblivioncth committed Nov 1, 2023
1 parent 23c909d commit 722af8a
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/master-pull-request-merge-reaction.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,14 @@ jobs:
match_end: \)
run: |
$project_lists = Get-Content -Raw CMakeLists.txt
if(!($project_lists -match '(?<=${{ env.match_start }})(.*)(?=${{ env.match_end }})')){
throw "Could not get target FP version!"
}
$target_version = "v$($Matches[1].Trim())"
echo "fp_version=$target_version" >> $Env:GITHUB_OUTPUT
if(!($project_lists -match '(?<=${{ env.match_start
}})(.*)(?=${{
env.match_end
}})')){
throw"Could not get target FP version!"
}
$target_version="v$($Matches[1].Trim())"
echo"fp_version=$target_version">> $Env:GITHUB_OUTPUT
- name: Tag master with new version tag
uses: oblivioncth/actions/git/tag@dev
with:
Expand Down Expand Up @@ -106,7 +109,7 @@ jobs:
- name: Zip up release artifacts
shell: pwsh
run: |
$artifact_folders = Get-ChildItem -Directory -Path "${{ env.artifacts_path }}"
$artifact_folders = Get-ChildItem -Directory -Path "${{ env.artifacts_path }}" -Exclude "github-pages"
foreach($art_dir in $artifact_folders)
{
$name = $art_dir.name
Expand Down

0 comments on commit 722af8a

Please sign in to comment.