-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
26e0de3
commit a4939fe
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: "tagged-release" | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*" | ||
|
||
jobs: | ||
tagged-release: | ||
name: "Tagged Release" | ||
runs-on: "ubuntu-latest" | ||
permissions: | ||
contents: write | ||
|
||
steps: | ||
- name: "Checkout" | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 1 | ||
submodules: "recursive" | ||
|
||
- name: Install zipmerge | ||
run: | | ||
sudo apt-get install -y zipmerge | ||
- name: "Create zip" | ||
run: | | ||
./package.sh --target github | ||
- name: "Create release" | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
prerelease: false | ||
make_latest: true | ||
generate_release_notes: true | ||
name: "Japanese ${{github.ref_name}}" | ||
files: | | ||
*.ankiaddon |