@@ -78,21 +78,16 @@ jobs:
7878 sudo mv ./box /usr/local/bin
7979
8080 - name : Build Application PHAR
81- run : |
82- .github/build-phar.sh
83- ls -al ./example.phar
84- cat ".git/${{ github.ref }}"
81+ run : .github/build-phar.sh
8582
8683 - name : Get Git Version
8784 id : get-version
8885 run : |
8986 echo ::set-output name=version::${GITHUB_REF#refs/tags/}
9087 echo 'Pushing version ${{ steps.get-version.outputs.version }}'
9188
92- - name : Get Application Version
93- # Self-test
94- run : |
95- ./example.phar --version
89+ - name : Self-Test
90+ run : ./example.phar --version
9691
9792 - name : Create Release
9893 uses : ncipollo/release-action@v1
@@ -101,35 +96,7 @@ jobs:
10196 name : ${{ steps.get-version.outputs.version }}
10297 tag : ${{ steps.get-version.outputs.version }}
10398 body : ' Next stable release.'
99+ # This will update existing tags if any
104100 allowUpdates : true
105101 artifact : example.phar
106102 artifactContentType : application/x-php
107-
108- # - name: Create Release
109- # uses: sondreb/action-release@master
110- # with:
111- # token: ${{ secrets.GITHUB_TOKEN }}
112- # files: 'example.phar'
113- # folder: './'
114- # tag: ${{ steps.get-version.outputs.version }}
115- # name: ${{ steps.get-version.outputs.version }}
116- # body: 'Next stable release.'
117- # # This will create a draft
118- # draft: true
119- # prerelease: false
120-
121- # - name: Upload Release Asset
122- # id: upload-release-asset
123- # uses: actions/upload-release-asset@v1
124- # env:
125- # # This token is provided by Actions, you do not need to create your own token
126- # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
127- # with:
128- # # This pulls from the 'Create Release' step above,
129- # # referencing it's ID to get its outputs object,
130- # # which include a 'upload_url'. See this blog post for more info:
131- # # https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
132- # upload_url: ${{ steps.create-release.outputs.upload_url }}
133- # asset_path: ./example.phar
134- # asset_name: example.phar
135- # asset_content_type: application/x-php
0 commit comments