.gitea: fix upload artifacts action

Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
fix/gitea-ci-artifacts
Manos Pitsidianakis 8 months ago
parent 3d85ca2edf
commit 712ce3099d
No known key found for this signature in database
GPG Key ID: 7729C7707F7E09D0

@ -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

Loading…
Cancel
Save