-
Notifications
You must be signed in to change notification settings - Fork 115
28 lines (26 loc) · 987 Bytes
/
temp.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
name: Temp
on:
push:
branches:
- '**'
jobs:
temp:
name: Run FigmaExport
runs-on: macos-latest
env:
FIGMA_PERSONAL_TOKEN: ${{ secrets.FIGMA_PERSONAL_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Download Figma Export
run: curl -OL -o figma-export.zip https://github.com/RedMadRobot/figma-export/releases/download/0.37.2/figma-export.zip
- name: Download Figma Export Sources
run: curl -OL -o 0.37.2.zip https://github.com/RedMadRobot/figma-export/archive/refs/tags/0.37.2.zip
- name: Extract Figma Export
run: unzip figma-export.zip -d _figma-export && readlink -f _figma-export/Release/figma-export
- name: Extract Figma Sources
run: unzip 0.37.2.zip -d figma-export-sources
- name: Run Figma Export
run: |
cd ./figma-export-sources/figma-export-0.37.2/Examples/Example
../../../../_figma-export/Release/figma-export icons