diff --git a/.gitea/workflows/builds.yaml b/.gitea/workflows/builds.yaml index 3d92edeb..e80f9efa 100644 --- a/.gitea/workflows/builds.yaml +++ b/.gitea/workflows/builds.yaml @@ -10,9 +10,14 @@ env: on: workflow_dispatch: + pull_request: + paths: + - '.gitea/**' push: tags: - v* + paths: + - '.gitea/**' jobs: build: @@ -29,7 +34,7 @@ jobs: artifact_name: 'meli-linux-amd64' target: x86_64-unknown-linux-gnu steps: - - uses: https://github.com/actions/checkout@v2 + - uses: actions/checkout@v2 - id: os-deps name: install OS dependencies run: | @@ -37,7 +42,7 @@ jobs: apt-get install -y libdbus-1-dev pkg-config mandoc libssl-dev #- id: cache-rustup # name: Cache Rust toolchain - # uses: https://github.com/actions/cache@v3 + # uses: actions/cache@v3 # with: # path: ~/.rustup # key: toolchain-${{ matrix.os }}-${{ matrix.rust }} @@ -78,7 +83,7 @@ jobs: mv target/release/* target/ || true mv target/meli artifacts/ - name: Upload Artifacts - uses: https://github.com/actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: ${{ matrix.artifact_name }} path: artifacts