-
Notifications
You must be signed in to change notification settings - Fork 12
41 lines (35 loc) · 894 Bytes
/
release.yml
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
37
38
39
40
41
# Sync changes to translations
name: Package release
on: # yamllint disable-line rule:truthy
push:
tags:
- "**"
# Workflow jobs
jobs:
# One job
release:
name: "Release"
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Required for release
permissions:
contents: write
steps:
- uses: actions/checkout@master
- name: Compress action step
uses: a7ul/[email protected]
id: compress
with:
command: c
files: |
./docker
outPath: docker.wbm.gz
# https://github.com/marketplace/actions/create-release
- name: "Upload release"
uses: ncipollo/release-action@v1
with:
artifacts: "docker.wbm.gz"
tag: ${{ github.ref_name }}
prerelease: true
draft: true
generateReleaseNotes: true