fix #86
This file contains 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: Pack Extension | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Source Tree | |
uses: actions/checkout@v4 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v4 | |
- name: Install ZIP | |
uses: montudor/action-zip@v1 | |
- name: Setup NPM packages | |
run: npm install | |
- name: Pack extension | |
run: npm run build | |
- name: Unzip extension | |
run: unzip -qq ../OldTweetDeckChrome.zip -d OldTweetDeckChrome; unzip -qq ../OldTweetDeckFirefox.zip -d OldTweetDeckFirefox | |
working-directory: ${{ github.workspace }} | |
- name: Upload for Firefox | |
uses: actions/upload-artifact@v4 | |
with: | |
name: OldTweetDeckFirefox | |
path: ${{ github.workspace }}/OldTweetDeckFirefox | |
- name: Upload for Chromium | |
uses: actions/upload-artifact@v4 | |
with: | |
name: OldTweetDeckChrome | |
path: ${{ github.workspace }}/OldTweetDeckChrome |