GithubHelp home page GithubHelp logo

Comments (4)

Minionguyjpro avatar Minionguyjpro commented on June 25, 2024

Nevermind i found out how

from zip-release.

m4ttheweric avatar m4ttheweric commented on June 25, 2024

@Minionguyjpro can you share ? I am also having some issues with excluding a dir

from zip-release.

Minionguyjpro avatar Minionguyjpro commented on June 25, 2024

@Minionguyjpro can you share ? I am also having some issues with excluding a dir

Of course, here it is:

name: Build a ZIP and CRX version

on:
  push:

jobs:
 build:
    runs-on: windows-latest
    steps:   
     - uses: actions/checkout@v2
     - name: Create report file
       run: date +%s > report.txt
       
     - name: Delete old ZIP and CRX
       run: del "D:\a\Sidebar\Sidebar\build\Sidebar_latest.zip"
    
     - name: Archive Release
       uses: thedoctor0/zip-release@master
       with:
         type: 'zip'
         filename: 'Sidebar_latest.zip'
         exclusions: '*.git* ./build/ README.md report.txt'

     - name: Move to "build" directory
       run: move /y D:\a\Sidebar\Sidebar\Sidebar_latest.zip D:\a\Sidebar\Sidebar\build\
       shell: cmd

     - name: Build CRX
       run: copy /y D:\a\Sidebar\Sidebar\build\Sidebar_latest.zip D:\a\Sidebar\Sidebar\build\Sidebar_latest.crx
       shell: cmd
       
     - name: Upload Sidebar ZIP Build Artifact
       uses: actions/upload-artifact@v2
       with:
         name: Sidebar Latest Beta ZIP
         path: D:\a\Sidebar\Sidebar\build\Sidebar_latest.zip
         
     - name: Upload Sidebar CRX Build Artifact
       uses: actions/upload-artifact@v2
       with:
         name: Sidebar Latest Beta CRX
         path: D:\a\Sidebar\Sidebar\build\Sidebar_latest.crx
       
     - name: Commit report
       run: |
          git config --global user.name '${{ secrets.git_username }}'
          git config --global user.email '${{ secrets.git_email }}'
          git add -A
          git commit -am "Made new build"
          git push       

from zip-release.

Minionguyjpro avatar Minionguyjpro commented on June 25, 2024

I changed /*build/* to ./build/

from zip-release.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.