-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (34 loc) · 990 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
42
43
44
---
# This workflow will create a release with artifacts created by other workflow uploaded, whenever a new tag is created.
name: Create Release
on:
push:
tags:
- '*'
jobs:
pyinstaller:
uses: ./.github/workflows/pyinstaller.yml
create-release:
runs-on: ubuntu-latest
needs: [pyinstaller]
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Git
run: |
git config user.email "${{ secrets.GITHUB_ACTOR }}@users.noreply.github.com"
git config user.name "${{ secrets.GITHUB_ACTOR }}"
- name: Download Artifacts
uses: actions/download-artifact@v2
- name: Download Linux Artifact
uses: actions/download-artifact@v2
with:
name: a10y-linux-x86_64
path: artifacts/
- name: Create Release
run: |
tag=$(git describe --tags --abbrev=0)
echo "Creating release for tag $tag"
ls .