blob: 80138f9da95f56c2c0a0a98eb3f52948dcd6a649 (
plain)
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
|
name: "Prepare GitHub release"
on:
push:
jobs:
zip:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: zip
run: |
sudo apt-get install make gettext
make zip-file
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: zip
path: "*.zip"
- name: Release (pre)
uses: softprops/action-gh-release@v1
with:
files: "*.zip"
prerelease: true
if: contains(github.ref_name,'rc') && github.ref_type == 'tag'
- name: Release
uses: softprops/action-gh-release@v1
with:
files: "*.zip"
if: "!contains(github.ref_name,'rc') && github.ref_type == 'tag'"
|