-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (30 loc) · 862 Bytes
/
release.yml
File metadata and controls
33 lines (30 loc) · 862 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
name: Release
on:
push:
tags:
- 'v*.*.*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: copy sources
run: |
mkdir -p .debpkg/usr/bin
cp src/csvToJson.py .debpkg/usr/bin
chmod 755 .debpkg/usr/bin/csvToJson.py
- uses: jiro4989/build-deb-action@v3
with:
package: sesame-csvtojson
package_root: .debpkg
maintainer: Libertech
version: ${{ github.ref }} # refs/tags/v*.*.*
depends: 'python3'
desc: 'convert csv to json'
homepage: 'https://github.com/Libertech-FR/sesame-csvtojson'
- uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: sesame*
overwrite: true
file_glob: true