diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml deleted file mode 100644 index 5a5d3e1..0000000 --- a/.gitea/workflows/release.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: Rust-release - -on: - push: - tags: - - '*' - -jobs: - build-release: - runs-on: ubuntu-latest - steps: - - - name: Check-out - uses: actions/checkout@v3 - - - name: Install stable toolchain - uses: https://github.com/actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - override: true - - - name: Run cargo check - uses: https://github.com/actions-rs/cargo@v1 - with: - command: check - - - name: Test - run: cargo test - - - name: Build - run: cargo build --release - - - name: Release - id: use-go-action - uses: https://gitea.com/actions/release-action@main - with: - files: ./target/release/hangman - title: auto-release - body: This is an automated release. - pre-release: true - api-key: '${{secrets.RELEASE_TOKEN}}'