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 b07e7e1 commit 121f299
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 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

0 comments on commit 121f299

Please sign in to comment.