- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 452
Created a release builder workflow #2165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
          
     Merged
      
      
            fballiano
  merged 56 commits into
  OpenMage:1.9.4.x
from
fballiano:first_release_builder_workflow
  
      
      
   
  Dec 17, 2022 
      
    
  
     Merged
                    Changes from all commits
      Commits
    
    
            Show all changes
          
          
            56 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      1b4a1c4
              
                First implementation of release builder workflow
              
              
                fballiano 57baeb1
              
                Removed Pelago_Emogrifier since it had to be removed from the compose…
              
              
                fballiano 50ffbe3
              
                Merge branch 'OpenMage:1.9.4.x' into first_release_builder_workflow
              
              
                fballiano 3d85cc1
              
                Update release.yml
              
              
                fballiano 8b28f32
              
                Update release.yml
              
              
                fballiano 5f12b10
              
                Update release.yml
              
              
                fballiano db99d92
              
                Update release.yml
              
              
                fballiano 53f53ee
              
                Update release.yml
              
              
                fballiano 21ef675
              
                First implementation of release builder workflow
              
              
                fballiano 32653dc
              
                Removed Pelago_Emogrifier since it had to be removed from the compose…
              
              
                fballiano 7e8bb3f
              
                Update release.yml
              
              
                fballiano 197b68b
              
                Update release.yml
              
              
                fballiano 9dd9c9d
              
                Update release.yml
              
              
                fballiano ed890e1
              
                Update release.yml
              
              
                fballiano cfc2278
              
                Update release.yml
              
              
                fballiano b3aabfa
              
                Merge branch 'first_release_builder_workflow' of github.com:fballiano…
              
              
                fballiano 23bcdc9
              
                Update release.yml
              
              
                fballiano 9d1e652
              
                Update release.yml
              
              
                fballiano bc5b4eb
              
                Update release.yml
              
              
                fballiano 5d8ac4a
              
                Update release.yml
              
              
                fballiano 598c81c
              
                Update release.yml
              
              
                fballiano 103044c
              
                Update release.yml
              
              
                fballiano e14bb34
              
                Update release.yml
              
              
                fballiano 6af62e6
              
                Update release.yml
              
              
                fballiano 28d133e
              
                Merge branch 'first_release_builder_workflow' of github.com:fballiano…
              
              
                fballiano f6a453e
              
                added no-dev parameter to make the release smaller
              
              
                fballiano 295d315
              
                Merge branch '1.9.4.x' into first_release_builder_workflow
              
              
                fballiano 61fe1b9
              
                Merge branch '1.9.4.x' into first_release_builder_workflow
              
              
                sreichel 58efd97
              
                Merge branch '1.9.4.x' into first_release_builder_workflow
              
              
                fballiano e8386dc
              
                removed php version output, changed php versions and ubuntu version
              
              
                fballiano 51e8f9c
              
                Switched deploy strategy + cleaning vendor
              
              
                fballiano 5b08583
              
                Added phpseclib stuff
              
              
                fballiano e7ea83a
              
                Merge branch '1.9.4.x' into first_release_builder_workflow
              
              
                fballiano 35cd0f1
              
                reset composer.json
              
              
                fballiano df2ad52
              
                removing vendor as root
              
              
                fballiano 99ba78e
              
                added emogrifier
              
              
                fballiano 081d878
              
                fixed emogrifier path
              
              
                fballiano 95cf9ff
              
                added sabberworm
              
              
                fballiano f3ec453
              
                fixed autoloader for namespaces
              
              
                fballiano c5f0ace
              
                fixed phpcs
              
              
                fballiano 8045ffc
              
                Merge branch '1.9.4.x' into first_release_builder_workflow
              
              
                sreichel 4271c3b
              
                Merge branch '1.9.4.x' into first_release_builder_workflow
              
              
                fballiano 6797ff1
              
                deploy strategy in composer.json + only one php version
              
              
                fballiano fed817f
              
                Merge branch 'first_release_builder_workflow' of github.com:fballiano…
              
              
                fballiano bac8738
              
                updated composer lock
              
              
                fballiano 4e9f872
              
                now vendor is included in the zip
              
              
                fballiano 2aac0b0
              
                reverted patch to autoloader
              
              
                fballiano 7317b5e
              
                rewrote
              
              
                fballiano 293deb2
              
                no-dev
              
              
                fballiano cdcf5b9
              
                Merge branch '1.9.4.x' into first_release_builder_workflow
              
              
                fballiano 5e695d2
              
                Merge branch '1.9.4.x' into first_release_builder_workflow
              
              
                fballiano 846c356
              
                merge 1.9.4.x
              
              
                fballiano fe4df73
              
                Merge branch 'first_release_builder_workflow' of github.com:fballiano…
              
              
                fballiano 99be3b6
              
                added magento-force
              
              
                fballiano 5e77c74
              
                composer update, forced by workflow
              
              
                fballiano 2c433aa
              
                Merge branch '1.9.4.x' into first_release_builder_workflow
              
              
                fballiano File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      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
    
  
  
    
              | Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| name: Release builder | ||
|  | ||
| on: | ||
| release: | ||
| types: [created] | ||
|  | ||
| jobs: | ||
| release_build: | ||
| runs-on: ${{ matrix.operating-system }} | ||
| strategy: | ||
| matrix: | ||
| operating-system: [ubuntu-latest] | ||
| php-versions: ['7.3'] | ||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@master | ||
|  | ||
| - name: Get composer cache directory | ||
| id: composer-cache | ||
| run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT | ||
|  | ||
| - name: Cache dependencies | ||
| uses: actions/cache@v3 | ||
| with: | ||
| path: ${{ steps.composer-cache.outputs.dir }} | ||
| key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} | ||
| restore-keys: ${{ runner.os }}-composer- | ||
|  | ||
| - name: Composer install | ||
| run: composer install --prefer-dist --no-progress --ignore-platform-req=ext-* --no-dev | ||
|  | ||
| - name: Create ZIP file | ||
| run: zip -rq openmage-${{ github.event.release.tag_name }}.zip . -x '.git/*' | ||
|  | ||
| - name: Attach ZIP to GitHub release | ||
| uses: svenstaro/upload-release-action@master | ||
| with: | ||
| repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
| file: openmage-${{ github.event.release.tag_name }}.zip | ||
| tag: ${{ github.event.release.tag_name }} | ||
| overwrite: true | ||
  
    
      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
    
  
  
    
              Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
      
      Oops, something went wrong.
      
    
  
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Uh oh!
There was an error while loading. Please reload this page.