diff --git a/.github/workflows/temp.yml b/.github/workflows/temp.yml new file mode 100644 index 0000000..7a8ac0b --- /dev/null +++ b/.github/workflows/temp.yml @@ -0,0 +1,27 @@ +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 https://github.com/RedMadRobot/figma-export/releases/download/0.37.2/figma-export.zip + - name: Download Figma Export Sources + run: curl -OL 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 + - name: Extract Figma Sources + run: unzip figma-export-0.37.2.zip -d figma-export-sources + - name: Run Figma Export + working-directory: ./figma-export-sources/Examples/Example + run: ./_figma-export/Release/figma-export icons