Updated ci.yml
This commit is contained in:
parent
798fe9e797
commit
3640befdcc
1 changed files with 10 additions and 12 deletions
22
.github/workflows/ci.yml
vendored
22
.github/workflows/ci.yml
vendored
|
@ -71,7 +71,7 @@ jobs:
|
|||
name: ncc-deb
|
||||
path: ${{ env.DEB_FILE }}
|
||||
|
||||
test:
|
||||
test-install:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
|
||||
|
@ -92,7 +92,7 @@ jobs:
|
|||
run: |
|
||||
sudo php build/INSTALL --auto
|
||||
|
||||
upload:
|
||||
upload-release:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
if: github.event_name == 'release' && github.event.action == 'created'
|
||||
|
@ -111,17 +111,15 @@ jobs:
|
|||
path: build
|
||||
|
||||
- name: Upload redist.zip to release
|
||||
uses: actions/upload-release-asset@v1
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
upload_url: ${{ github.event.release.upload_url }}
|
||||
asset_path: build/redist.zip
|
||||
asset_name: redist.zip
|
||||
asset_content_type: application/zip
|
||||
files: build/redist.zip
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Upload ncc.deb to release
|
||||
uses: actions/upload-release-asset@v1
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
upload_url: ${{ github.event.release.upload_url }}
|
||||
asset_path: build/${{ env.DEB_FILE }}
|
||||
asset_name: ncc.deb
|
||||
asset_content_type: application/vnd.debian.binary-package
|
||||
files: build/${{ env.DEB_FILE }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Add table
Reference in a new issue