Skip to content

Commit f53e017

Browse files
Merge branch 'main' of github.com:testthedocs/Openly
2 parents 10f900c + d7dc679 commit f53e017

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

.github/workflows/release.yml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,23 @@ on:
77

88
jobs:
99

10-
build:
10+
publish:
1111
runs-on: ubuntu-latest
1212
permissions:
1313
contents: write
1414
steps:
15-
- uses: actions/checkout@v3
16-
- uses: ncipollo/release-action@v1
17-
with:
18-
generateReleaseNotes: true
15+
- name: Checkout
16+
uses: actions/checkout@v3
17+
with:
18+
fetch-depth: 0
19+
20+
- run: zip -r Openly.zip Openly -x "*.DS_Store"
21+
22+
- name: Create release
23+
uses: ncipollo/release-action@v1
24+
if: startsWith(github.ref, 'refs/tags/')
25+
with:
26+
generateReleaseNotes: true
27+
artifacts: Openly.zip
28+
token: ${{ secrets.GITHUB_TOKEN }}
29+

0 commit comments

Comments
 (0)