-
Notifications
You must be signed in to change notification settings - Fork 28
33 lines (32 loc) · 1.04 KB
/
fig2sketch.yaml
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
name: Release design-ui-kit
on:
workflow_dispatch:
push:
tags:
- '*'
jobs:
fig2sketch:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: main
- name: Fixup git permissions
shell: bash
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: git config
run: |
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
- uses: italia/[email protected] # https://github.com/italia/figma-to-sketch-action
with:
files: 'UI-Kit-Italia.fig' # File di input .fig (Figma) separati da `|`
output_files: 'UI-Kit-Italia.sketch' # File di output .sketch (Sketch) risultanti separati da `|`
- uses: ncipollo/release-action@v1
with:
artifacts: '*.fig,*.sketch'
token: ${{ secrets.GITHUB_TOKEN }}
allowUpdates: true
makeLatest: true
omitBodyDuringUpdate: true