From 2de9f11bf53fd8494b6dac4eecc8e87be76b02b5 Mon Sep 17 00:00:00 2001 From: Daniil Subbotin Date: Tue, 3 Oct 2023 21:27:18 +0300 Subject: [PATCH] TEMP --- .github/workflows/temp.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/temp.yml diff --git a/.github/workflows/temp.yml b/.github/workflows/temp.yml new file mode 100644 index 0000000..f6edcb9 --- /dev/null +++ b/.github/workflows/temp.yml @@ -0,0 +1,33 @@ +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: Update PATH + run: | + echo "$PATH" + echo "./figma-export-release/Release" >> $GITHUB_PATH + echo "$PATH" + - name: Run Figma Export + run: | + cd ./figma-export-sources/figma-export-0.37.2/Examples/AndroidExample + figma-export icons