Skip to content

Commit

Permalink
TEMP
Browse files Browse the repository at this point in the history
  • Loading branch information
subdan committed Oct 7, 2023
1 parent 1803796 commit 1a80a06
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/temp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Temp

on:
push:
branches:
- 'temp'

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-release
- name: Extract Figma Sources
run: unzip 0.37.2.zip -d figma-export-sources
- name: Run Figma Export
run: |
cp -a ./figma-export-release/Release/. /usr/local/bin/
cd ./figma-export-sources/figma-export-0.37.2/Examples/AndroidExample
figma-export icons
ls ./app/src/main/res/figma-export-icons/drawable/

0 comments on commit 1a80a06

Please sign in to comment.