From 0da5cbeae477dae347090b179ad1c46fa9ad4a2c Mon Sep 17 00:00:00 2001 From: james Date: Tue, 6 Aug 2024 17:50:28 +0100 Subject: [PATCH] rename --- .github/workflows/{rust.yml => release.yml} | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) rename .github/workflows/{rust.yml => release.yml} (97%) diff --git a/.github/workflows/rust.yml b/.github/workflows/release.yml similarity index 97% rename from .github/workflows/rust.yml rename to .github/workflows/release.yml index a3ea901..09c8ec7 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/release.yml @@ -1,10 +1,11 @@ -name: Rust +name: Release + +permissions: + contents: write on: - pull_request: - push: - branches: - - master + release: + types: [created] env: CARGO_TERM_COLOR: always @@ -132,7 +133,6 @@ jobs: # deploys to github releases on tag deploy: - if: startsWith(github.ref, 'refs/tags/') needs: build runs-on: ubuntu-latest steps: