From 9184512fa181e4f8f62511acf5c5a7c9d35270bd Mon Sep 17 00:00:00 2001 From: Arthur Wambst Date: Wed, 17 Sep 2025 01:50:39 +0200 Subject: [PATCH] actions update --- .gitea/workflows/build.yaml | 1 + .gitea/workflows/release.yaml | 56 +++++++++++++++++------------------ 2 files changed, 29 insertions(+), 28 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 15c4fd9f6..bbabaedaf 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -4,6 +4,7 @@ on: push: branches: - main + - dev pull_request: jobs: diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 38e11561e..5a8091b06 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -39,38 +39,38 @@ jobs: - name: Build run: yarn build - - name: Create release branch and bump version - env: - REF: ${{ github.ref }} - run: | - BRANCH=release/${REF:10} - git config --local user.email "github-actions[bot]@users.noreply.github.com" - git config --local user.name "github-actions[bot]" - git checkout -b $BRANCH - git push -u origin $BRANCH - sed -i "s/ 'version' => 'canary',/ 'version' => '${REF:11}',/" config/app.php - git add config/app.php - git commit -m "ci(release): bump version" - git push + # - name: Create release branch and bump version + # env: + # REF: ${{ github.ref }} + # run: | + # BRANCH=release/${REF:10} + # git config --local user.email "github-actions[bot]@users.noreply.github.com" + # git config --local user.name "github-actions[bot]" + # git checkout -b $BRANCH + # git push -u origin $BRANCH + # sed -i "s/ 'version' => 'canary',/ 'version' => '${REF:11}',/" config/app.php + # git add config/app.php + # git commit -m "ci(release): bump version" + # git push - name: Create release archive run: | rm -rf node_modules vendor tests CODE_OF_CONDUCT.md CONTRIBUTING.md phpunit.xml shell.nix tar -czf panel.tar.gz * .env.example - - name: Create checksum - run: | - SUM=`sha256sum panel.tar.gz` - echo $SUM > checksum.txt + #- name: Create checksum + # run: | + # SUM=`sha256sum panel.tar.gz` + # echo $SUM > checksum.txt - - name: Create release - id: create_release - uses: softprops/action-gh-release@v2 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - draft: true - prerelease: ${{ contains(github.ref, 'rc') || contains(github.ref, 'beta') || contains(github.ref, 'alpha') }} - files: | - panel.tar.gz - checksum.txt + #- name: Create release + # id: create_release + # uses: softprops/action-gh-release@v2 + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # with: + # draft: true + # prerelease: ${{ contains(github.ref, 'rc') || contains(github.ref, 'beta') || contains(github.ref, 'alpha') }} + # files: | + # panel.tar.gz + # checksum.txt