/[sudobot]/trunk/.github/workflows/release.yml
ViewVC logotype

Diff of /trunk/.github/workflows/release.yml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 625 by rakinar2, Thu Aug 29 12:36:37 2024 UTC revision 626 by rakinar2, Sat Sep 7 09:38:45 2024 UTC
# Line 1  Line 1 
1  name: Releases  name: Releases
2    
3  on:  on:
4    push:    push:
5      branches:      branches:
# Line 6  on: Line 7  on:
7    
8  permissions:  permissions:
9    contents: write    contents: write
10      deployments: write
11    
12  jobs:  jobs:
13    build:    build:
14      if: github.repository_owner == 'onesoft-sudo'      if: github.repository_owner == 'onesoft-sudo' && github.ref == 'refs/heads/main'
15    
16      strategy:      strategy:
17        matrix:        matrix:
# Line 68  jobs: Line 70  jobs:
70    
71    release:    release:
72      needs: [build]      needs: [build]
73      if: github.repository_owner == 'onesoft-sudo'      if: github.repository_owner == 'onesoft-sudo' && github.ref == 'refs/heads/main'
74      runs-on: ubuntu-latest      runs-on: ubuntu-latest
75    
76      steps:      steps:
# Line 137  jobs: Line 139  jobs:
139            body: ${{ steps.auto_release.outputs.release_notes }}            body: ${{ steps.auto_release.outputs.release_notes }}
140            artifactContentType: application/x-gzip            artifactContentType: application/x-gzip
141            artifacts: ./sudobot-release-linux.tar.gz,./sudobot-release-darwin.tar.gz            artifacts: ./sudobot-release-linux.tar.gz,./sudobot-release-darwin.tar.gz
142    
143      deploy-staging:
144        needs: [build, release]
145        if: github.repository_owner == 'onesoft-sudo'
146        uses: ./.github/workflows/staging.yml
147        secrets: inherit

Legend:
Removed from v.625  
changed lines
  Added in v.626

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26