From 50409a5c0ce3ddc2145fc081f4339dad8d46fa16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= <joamag@gmail.com> Date: Tue, 1 Aug 2023 18:58:14 +0100 Subject: [PATCH] chore: simplified release --- .github/workflows/deploy.yml | 25 ++++--------------------- 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ffab8a7c..fde651f0 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -4,25 +4,8 @@ on: tags: - "*" jobs: - create-release: - name: Create Release - timeout-minutes: 10 - runs-on: ubuntu-latest - steps: - - name: Checkout code from repository - uses: actions/checkout@v3 - - name: Create release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: ${{ github.ref }} - release_name: ${{ github.ref }} - draft: false - prerelease: false - build-upload: - name: Build & Upload - needs: create-release + build-release: + name: Build Release timeout-minutes: 10 strategy: matrix: @@ -38,14 +21,14 @@ jobs: cargo build --release - name: Build SDL run: | - cargo install cargo-vcpkg && cargo vcpkg -v build + cd frontends/sdl && cargo install cargo-vcpkg && cargo vcpkg -v build cd frontends/sdl && cargo build cd frontends/sdl && cargo build --release - name: Build Libretro run: | cd frontends/libretro && cargo build cd frontends/libretro && cargo build --release - - name: Upload Base + - name: Create Release uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') with: -- GitLab