From b4127f2fe8827e5951621abdef19216cf6f04c11c005610981cee64ec603a9b8 Mon Sep 17 00:00:00 2001 From: Kira Date: Mon, 20 Jul 2026 23:22:20 +0200 Subject: [PATCH] Removed retarded git actions. --- .gitea/workflows/build-release-binary.yaml | 43 ---------------------- .gitea/workflows/release.yaml | 40 -------------------- 2 files changed, 83 deletions(-) delete mode 100644 .gitea/workflows/build-release-binary.yaml delete mode 100644 .gitea/workflows/release.yaml diff --git a/.gitea/workflows/build-release-binary.yaml b/.gitea/workflows/build-release-binary.yaml deleted file mode 100644 index b1d867a..0000000 --- a/.gitea/workflows/build-release-binary.yaml +++ /dev/null @@ -1,43 +0,0 @@ -name: "Build Release Binary" -run-name: "Build Release: ${{ inputs.tag_name }}" - -on: - # Allows triggering from another workflow - workflow_call: - inputs: - tag_name: - description: 'Git tag to build (e.g., v1.0.0)' - required: true - type: string - - workflow_dispatch: # Enables manual triggering - inputs: - tag_name: - description: 'Git tag to build (e.g., v1.0.0)' - required: true - type: string - -jobs: - build-release: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 - env: - GIT_DEFAULT_HASH: sha256 - with: - # If triggered manually, use the input tag. - # If triggered by push, GITHUB_REF_NAME is the tag. - ref: ${{ inputs.tag_name || gitea.ref_name }} - - - name: Setup Rust toolchain - uses: actions-rust-lang/setup-rust-toolchain@v1 - - - name: Build Release Binary - run: cargo build --release - - - name: Upload Artifact - uses: actions/upload-artifact@v3 - with: - name: nyanit-${{ inputs.tag_name || gitea.ref_name }} - path: target/release/nyanit diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml deleted file mode 100644 index 56a3cfd..0000000 --- a/.gitea/workflows/release.yaml +++ /dev/null @@ -1,40 +0,0 @@ -name: Create Release with Binary - -on: - workflow_dispatch: # Enables manual triggering - inputs: - tag_name: - description: 'Git tag to build (e.g., v1.0.0)' - required: true - type: string - rel_description: - description: 'Release description' - required: false - type: string - - -jobs: - # This job calls the reusable workflow - build-binary: - uses: ./.gitea/workflows/build-release-binary.yml - with: - tag_name: "${{ inputs.tag_name }}" - - create-release: - needs: build-binary # Wait for the reusable workflow to finish - runs-on: ubuntu-latest - steps: - - name: Download Artifact - uses: actions/download-artifact@v4 - with: - name: nyanit-${{ inputs.tag_name }} - - - name: Create Release and Attach Binary - uses: actions/release-action@main - with: - artifacts: "nyanit-${{ inputs.tag_name }}" - api_key: ${{ secrets.bzzpss_release_psszz }} - tag_name: ${{ inputs.tag_name }} - name: Release ${{ inputs.tag_name }} - body: "Automated release for ${{ inputs.tag_name }}\n${{ inputs.rel_description }}" -