diff --git a/.github/workflows/rust.dev.yml b/.github/workflows/rust.dev.yml index 31dea70..601151a 100644 --- a/.github/workflows/rust.dev.yml +++ b/.github/workflows/rust.dev.yml @@ -11,7 +11,6 @@ env: jobs: build: - runs-on: ubuntu-latest steps: @@ -20,9 +19,13 @@ jobs: run: cargo build --verbose - name: Run tests run: cargo test --verbose + - name: Upload artifact + uses: actions/upload-artifact@v3 + with: + name: pet-the-cat-gui_artifact + path: /home/runner/work/pet_the_cat_gui/pet_the_cat_gui/target/debug/pet_the_cat_gui release: - name: Release runs-on: ubuntu-latest needs: build @@ -31,7 +34,7 @@ jobs: - name: Download artifact uses: actions/download-artifact@v3 with: - name: /home/runner/work/pet_the_cat_gui/pet_the_cat_gui/target/debug/ + name: pet-the-cat-gui_artifact - name: Test artifact download run: ls -R