mirror of
https://github.com/OMGeeky/downloader.git
synced 2026-02-23 15:38:31 +01:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
16
.github/workflows/dispatch.yml
vendored
16
.github/workflows/dispatch.yml
vendored
@@ -2,12 +2,11 @@
|
||||
name: Build
|
||||
|
||||
on:
|
||||
|
||||
push:
|
||||
branches: [ main ]
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build
|
||||
@@ -30,8 +29,7 @@ jobs:
|
||||
with:
|
||||
path: |
|
||||
~/.cargo/bin/
|
||||
~/.cargo/registry/index/
|
||||
~/.cargo/registry/cache/
|
||||
~/.cargo/registry/
|
||||
~/.cargo/git/db/
|
||||
target/
|
||||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||
@@ -39,6 +37,10 @@ jobs:
|
||||
- name: Compile
|
||||
id: compile
|
||||
uses: rust-build/rust-build.action@v1.4.3
|
||||
env:
|
||||
# "-C target-feature=-crt-static" is required to be able
|
||||
# to run in an alpine docker container
|
||||
RUSTFLAGS: "-C target-feature=-crt-static"
|
||||
with:
|
||||
RUSTTARGET: ${{ matrix.target }}
|
||||
ARCHIVE_TYPES: ${{ matrix.archive }}
|
||||
|
||||
Reference in New Issue
Block a user