We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7416f92 commit 8df4db2Copy full SHA for 8df4db2
.github/workflows/pr-build.yml
@@ -0,0 +1,24 @@
1
+name: Pull Request Build
2
+
3
+on:
4
+ pull_request:
5
+ branches: [ main, master ]
6
7
+jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v2
12
13
+ - name: Download bootstrap file
14
+ run: wget https://raw.githubusercontent.com/progit/progit2-pub/master/bootstrap.sh
15
+ - name: Run bootstrap
16
+ run: sh bootstrap.sh
17
+ - name: Set up Ruby
18
+ uses: ruby/setup-ruby@v1
19
+ with:
20
+ ruby-version: 2.7
21
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
22
23
+ - name: Build book
24
+ run: bundle exec rake book:build_action
0 commit comments