aboutsummaryrefslogblamecommitdiffhomepage
path: root/.github/workflows/release.yml
blob: 66bfb5b5b8de5c08ac5e45b0c3a67ebe858c0da4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12




                           
              





                              




                                 


                      

                             

                                    

                            
                          
                                            
             



                                            
# Publish pre-build release
name: Upload Release Asset

on:
  push:
    tags: [v*]

jobs:
  build:
    name: Upload Release Asset
    runs-on: ubuntu-latest
    steps:
      - 
        name: Checkout
        uses: actions/checkout@v3
      - 
        name: Build project
        run: |
          yarn install
          yarn build
      - 
        name: Create artifact
        working-directory: "dist"
        run: zip -r ../homer.zip ./*
      - 
        name: Create Release
        id: create_release
        uses: softprops/action-gh-release@v1
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          generate_release_notes: true
          files: |
            homer.zip