404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@3.145.202.60: ~ $
name: Publish the released PHAR

on:
  release:
    types: [created]

jobs:
  publish:
    runs-on: ubuntu-22.04

    name: Release PHAR

    steps:
      - name: Extract the tag version
        id: tag
        run: echo ::set-output name=tag::${GITHUB_REF##*v}

      - name: Checkout the code
        uses: actions/checkout@v3

      - name: Setup PHP
        uses: shivammathur/setup-php@v2
        with:
          php-version: 8.0
          extensions: dom, curl, libxml, mbstring, zip
          ini-values: error_reporting=E_ALL
          tools: composer:v2
          coverage: none

      - name: Install the dependencies
        run: composer install --prefer-dist --no-progress

      - name: Create the PHAR file.
        run: ./pint app:build pint.phar --build-version=${{ steps.tag.outputs.tag }}

      - name: Upload the PHAR artifact
        uses: actions/upload-artifact@v3
        with:
          name: pint.phar
          path: builds/pint.phar

      - name: Upload the PHAR to release
        run: gh release upload v${{ steps.tag.outputs.tag }} builds/pint.phar
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Filemanager

Name Type Size Permission Actions
issues.yml File 173 B 0644
publish-phar.yml File 1.16 KB 0644
pull-requests.yml File 205 B 0644
tests.yml File 1.19 KB 0644
update-changelog.yml File 157 B 0644