-
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (29 loc) · 814 Bytes
/
Copy pathpublish.yml
File metadata and controls
36 lines (29 loc) · 814 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Publish
on:
release:
types: [published]
permissions:
contents: write
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Build archive
run: |
mkdir -p ./archive
cp -a ./orca/. ./archive/
cp -a ./speechd ./archive/
cp ./default.ini ./archive/
cp ./guidepup.ini ./archive/
cp ./LICENSE ./archive/
tar -czf "./guidepup-orca-${{ github.event.release.tag_name }}.tar.gz" \
-C ./archive .
- name: Publish
env:
GH_TOKEN: ${{ github.token }}
run: |
gh release upload \
"${{ github.event.release.tag_name }}" \
"guidepup-orca-${{ github.event.release.tag_name }}.tar.gz" \
--clobber