diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c003a05..71ea475 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 \ No newline at end of file + files: build/${{ env.DEB_FILE }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file