Skip to content

Commit a46f3d4

Browse files
committed
update release on merge workflow
1 parent a818462 commit a46f3d4

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/release-on-merge.yml

+3-7
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,9 @@ jobs:
88
release:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
11+
- uses: actions/checkout@v4
1212
with:
1313
fetch-depth: 0
14-
- name: get bootstrap file
15-
run: wget https://raw.githubusercontent.com/progit/progit2-pub/master/bootstrap.sh
16-
- name: run bootstrap
17-
run: sh bootstrap.sh
1814
- name: Compute tag name
1915
id: compute-tag
2016
run: |
@@ -31,12 +27,12 @@ jobs:
3127
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
3228

3329
- name: Build release assets
34-
run: bundle exec rake book:build_action
30+
run: bundle exec rake book:build_build
3531

3632
- name: Create release
3733
uses: ncipollo/release-action@v1
3834
with:
3935
token: ${{ secrets.GITHUB_TOKEN }}
4036
tag: ${{ steps.compute-tag.outputs.tagname }}
4137
commit: ${{ steps.compute-tag.outputs.branch }}
42-
artifacts: './progit.epub,./progit.mobi,./progit.pdf,./progit.html'
38+
artifacts: './progit.epub,./progit.fb2.zip,./progit.mobi,./progit.pdf,./progit.html'

0 commit comments

Comments
 (0)