Skip to content

Commit c95c9cf

Browse files
authored
Changes CI to trigger on PRs (#83)
1 parent fd6fabb commit c95c9cf

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33

44
name: ci
55

6-
on: [push]
6+
on:
7+
pull_request:
8+
push:
9+
branches:
10+
master
711

812
jobs:
913
build:

.github/workflows/ci_tool_tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
name: Tool CI
44

5-
on: [push]
5+
on:
6+
pull_request:
67

78
jobs:
89
build:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Collect git metadata
2424
id: git_metadata
2525
run: |
26-
echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/v}
26+
echo "{VERSION}::{${GITHUB_REF#refs/tags/v}}" >> $GITHUB_OUTPUT
2727
# The following builds the document in multiple formats for deployment.
2828
- name: Build the document.
2929
shell: bash

tools/build/build

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ if [ -z "$version" ]; then
7777
usage "no document version specified"
7878
fi
7979

80+
version=PR_${version%/*}
81+
8082
################################################################################
8183
# Build the document.
8284
################################################################################

0 commit comments

Comments
 (0)