diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 87b86734..80ecc74b 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -65,33 +65,5 @@ jobs: if [[ $OS =~ ^ubuntu.*$ ]]; then sudo apt-get install -qq crossbuild-essential-arm64 crossbuild-essential-armhf fi - - name: Install rust target - run: rustup target add $TARGET - name: Run build run: cargo build --release --verbose --target $TARGET - - name: List target - run: find ./target - - name: Archive artifact - uses: actions/upload-artifact@v2 - with: - name: result - path: | - ./artifacts - - # deploys to github releases on tag - deploy: - if: startsWith(github.ref, 'refs/tags/') - needs: build - runs-on: ubuntu-latest - steps: - - name: Download artifacts - uses: actions/download-artifact@v2 - with: - name: result - path: ./artifacts - - name: List - run: find ./artifacts - - name: Release - uses: softprops/action-gh-release@v1 - with: - files: ./artifacts/*.tar.gz