Skip to content

Commit

Permalink
remove release from ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Rovel committed Feb 17, 2024
1 parent 33576b6 commit 1b49ae5
Showing 1 changed file with 1 addition and 30 deletions.
31 changes: 1 addition & 30 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: ${{ matrix.target }}
override: true
run: curl https://sh.rustup.rs -sSf | sh -s -- -y ${{ matrix.target }}
- name: Install cross
run: cargo install cross
- name: Build binary
Expand All @@ -55,28 +51,3 @@ jobs:
with:
name: ${{ matrix.target }}
path: target/${{ matrix.target }}/release/
release:
name: Release
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/download-artifact@v2
with:
name: ${{ matrix.target }}
path: target/${{ matrix.target }}/release/
- name: Set env
run: |
echo "BRANCH=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV
echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: 0.1.0
release_name: image_cleaner-0.1.0-${{ matrix.target }}
body: |
Changes in this Release
draft: false
prerelease: false

0 comments on commit 1b49ae5

Please sign in to comment.