AI Chat Exporter v2.3.0 #10
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Zip Chrome Extension and Upload to Release | |
| on: | |
| release: | |
| types: [published] | |
| permissions: | |
| contents: write | |
| jobs: | |
| build-and-zip: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Create zip of extension files | |
| run: | | |
| mkdir dist | |
| cp manifest.json dist/ | |
| cp popup.html popup.js dist/ | |
| cp -r icons dist/ | |
| mkdir -p dist/src/content_scripts | |
| cp src/content_scripts/gemini.js dist/src/content_scripts/ | |
| cp src/content_scripts/chatgpt.js dist/src/content_scripts/ | |
| cd dist | |
| zip -r ../ai-chat-exporter.zip . | |
| - name: Upload zip to release | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| files: ai-chat-exporter.zip | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |