From a539bd8aa5bc0f50d906ef75766de83653c4be61 Mon Sep 17 00:00:00 2001 From: Ortwin Pinke Date: Thu, 11 Jan 2024 18:46:24 +0000 Subject: [PATCH 1/4] =?UTF-8?q?.gitea/workflow/ci.yml=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit add release action --- .gitea/workflow/ci.yml | 48 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 .gitea/workflow/ci.yml diff --git a/.gitea/workflow/ci.yml b/.gitea/workflow/ci.yml new file mode 100644 index 0000000..984f216 --- /dev/null +++ b/.gitea/workflow/ci.yml @@ -0,0 +1,48 @@ +name: "Release" + +on: + push: + tags: + - "*" + +env: + COMPOSER_FLAGS: "--no-dev --no-interaction" + +jobs: + build: + name: Upload Release Asset + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: "Install PHP" + uses: "shivammathur/setup-php@v2" + with: + coverage: "none" + extensions: "intl" + ini-values: "memory_limit=-1" + php-version: "7.4" + + - name: "Install dependencies from composer.lock using composer binary provided by system" + run: "composer install ${{ env.COMPOSER_FLAGS }}" + + - name: Archive Release + uses: thedoctor0/zip-release@master + with: + type: 'zip' + filename: '${{ github.event.repository.name }}.zip' + exclusions: '*.git* /*node_modules/* .editorconfig' + + - name: Upload Release + uses: ncipollo/release-action@v1 + with: + artifacts: "${{ github.event.repository.name }}.zip" + token: ${{ secrets.GITHUB_TOKEN }} + + - name: Release + uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + draft: true + files: ${{ github.event.repository.name }}.zip \ No newline at end of file From ca485b177435c9bde8b9c16ce6e9e291071af6c2 Mon Sep 17 00:00:00 2001 From: Ortwin Pinke Date: Thu, 11 Jan 2024 18:52:55 +0000 Subject: [PATCH 2/4] revert a539bd8aa5bc0f50d906ef75766de83653c4be61 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit revert .gitea/workflow/ci.yml hinzugefรผgt add release action --- .gitea/workflow/ci.yml | 48 ------------------------------------------ 1 file changed, 48 deletions(-) delete mode 100644 .gitea/workflow/ci.yml diff --git a/.gitea/workflow/ci.yml b/.gitea/workflow/ci.yml deleted file mode 100644 index 984f216..0000000 --- a/.gitea/workflow/ci.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: "Release" - -on: - push: - tags: - - "*" - -env: - COMPOSER_FLAGS: "--no-dev --no-interaction" - -jobs: - build: - name: Upload Release Asset - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: "Install PHP" - uses: "shivammathur/setup-php@v2" - with: - coverage: "none" - extensions: "intl" - ini-values: "memory_limit=-1" - php-version: "7.4" - - - name: "Install dependencies from composer.lock using composer binary provided by system" - run: "composer install ${{ env.COMPOSER_FLAGS }}" - - - name: Archive Release - uses: thedoctor0/zip-release@master - with: - type: 'zip' - filename: '${{ github.event.repository.name }}.zip' - exclusions: '*.git* /*node_modules/* .editorconfig' - - - name: Upload Release - uses: ncipollo/release-action@v1 - with: - artifacts: "${{ github.event.repository.name }}.zip" - token: ${{ secrets.GITHUB_TOKEN }} - - - name: Release - uses: softprops/action-gh-release@v1 - if: startsWith(github.ref, 'refs/tags/') - with: - draft: true - files: ${{ github.event.repository.name }}.zip \ No newline at end of file From 73503cddcd041297ca081a952ac645e8970a244f Mon Sep 17 00:00:00 2001 From: Ortwin Pinke Date: Thu, 11 Jan 2024 18:53:55 +0000 Subject: [PATCH 3/4] =?UTF-8?q?.gitea/workflows/release.yml=20hinzugef?= =?UTF-8?q?=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit add release action (second try) --- .gitea/workflows/release.yml | 48 ++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 .gitea/workflows/release.yml diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml new file mode 100644 index 0000000..984f216 --- /dev/null +++ b/.gitea/workflows/release.yml @@ -0,0 +1,48 @@ +name: "Release" + +on: + push: + tags: + - "*" + +env: + COMPOSER_FLAGS: "--no-dev --no-interaction" + +jobs: + build: + name: Upload Release Asset + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: "Install PHP" + uses: "shivammathur/setup-php@v2" + with: + coverage: "none" + extensions: "intl" + ini-values: "memory_limit=-1" + php-version: "7.4" + + - name: "Install dependencies from composer.lock using composer binary provided by system" + run: "composer install ${{ env.COMPOSER_FLAGS }}" + + - name: Archive Release + uses: thedoctor0/zip-release@master + with: + type: 'zip' + filename: '${{ github.event.repository.name }}.zip' + exclusions: '*.git* /*node_modules/* .editorconfig' + + - name: Upload Release + uses: ncipollo/release-action@v1 + with: + artifacts: "${{ github.event.repository.name }}.zip" + token: ${{ secrets.GITHUB_TOKEN }} + + - name: Release + uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + draft: true + files: ${{ github.event.repository.name }}.zip \ No newline at end of file From 1597dea26f6294c3bbaf8e874b580f0a98c829d6 Mon Sep 17 00:00:00 2001 From: Ortwin Pinke Date: Fri, 12 Jan 2024 16:43:49 +0000 Subject: [PATCH 4/4] =?UTF-8?q?.gitea/workflows/build.yaml=20hinzugef?= =?UTF-8?q?=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .gitea/workflows/build.yaml diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml new file mode 100644 index 0000000..e4e54e4 --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -0,0 +1,19 @@ +# .gitea/workflows/build.yaml +name: Gitea Actions Demo +run-name: ${{ github.actor }} is testing out Gitea Actions ๐Ÿš€ +on: [push] +jobs: + Explore-Gitea-Actions: + runs-on: ubuntu-latest + steps: + - run: echo "๐ŸŽ‰ The job was automatically triggered by a ${{ github.event_name }} event." + - run: echo "๐Ÿง This job is now running on a ${{ runner.os }} server hosted by Gitea!" + - run: echo "๐Ÿ”Ž The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." + - name: Check out repository code + uses: actions/checkout@v3 + - run: echo "๐Ÿ’ก The ${{ github.repository }} repository has been cloned to the runner." + - run: echo "๐Ÿ–ฅ๏ธ The workflow is now ready to test your code on the runner." + - name: List files in the repository + run: | + ls ${{ github.workspace }} + - run: echo "๐Ÿ This job's status is ${{ job.status }}." \ No newline at end of file