From 0f85107c1962724f5a1bf9f66d498cf39735858f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Sch=C3=B6nauer?= <37108907+DottoDev@users.noreply.github.com> Date: Sun, 16 Oct 2022 16:22:44 +0000 Subject: [PATCH] Delete release.yml --- .github/workflows/release.yml | 73 ----------------------------------- 1 file changed, 73 deletions(-) delete mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index ed30643f..00000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,73 +0,0 @@ -name: CD Native - -on: - release: - types: [ created ] - -jobs: - build: - strategy: - fail-fast: false - matrix: - platform: [ ubuntu-latest, macos-latest, windows-latest ] - runs-on: ${{ matrix.platform }} - steps: - - uses: actions/checkout@v2 - - uses: actions-rs/toolchain@v1 - with: - toolchain: 1.57.0 - profile: minimal - override: true - components: rustfmt, clippy - - uses: actions-rs/cargo@v1.0.1 - name: Check format - with: - command: fmt - args: --all -- --check - - uses: actions-rs/cargo@v1.0.1 - name: Run clippy - with: - command: clippy - args: --all-targets --locked -- -D warnings - - uses: actions-rs/cargo@v1.0.1 - name: Run clippy (All features) - with: - command: clippy - args: --all-targets --locked --all-features -- -D warnings - - uses: actions-rs/cargo@v1.0.1 - name: Run tests - with: - command: test - - uses: actions-rs/cargo@v1.0.1 - name: Build - with: - command: build - args: --release --all-features - - name: Rename Release (Unix) - run: | - cargo install default-target - mkdir assets - FILENAME=topgrade-${{github.event.release.tag_name}}-$(default-target) - mv target/release/topgrade assets - cd assets - tar --format=ustar -czf $FILENAME.tar.gz topgrade - rm topgrade - ls . - if: ${{ matrix.platform != 'windows-latest' }} - shell: bash - - name: Rename Release (Windows) - run: | - cargo install default-target - mkdir assets - FILENAME=topgrade-${{github.event.release.tag_name}}-$(default-target) - mv target/release/topgrade.exe assets/topgrade.exe - cd assets - powershell Compress-Archive -Path * -Destination ${FILENAME}.zip - rm topgrade.exe - ls . - if: ${{ matrix.platform == 'windows-latest' }} - shell: bash - - name: Release - uses: softprops/action-gh-release@v1 - with: - files: assets/*