mirror of
https://github.com/mgree/ffs.git
synced 2024-09-11 19:17:40 +03:00
fixup prerelease paths
This commit is contained in:
parent
4c8f6ddecc
commit
fee24f4166
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@ -88,6 +88,9 @@ jobs:
|
||||
- name: Download binaries
|
||||
uses: actions/download-artifact@v2
|
||||
|
||||
- name: Show downloaded files
|
||||
run: ls -lR
|
||||
|
||||
- name: Deploy 'latest' release
|
||||
uses: "marvinpinto/action-automatic-releases@latest"
|
||||
with:
|
||||
@ -96,8 +99,8 @@ jobs:
|
||||
prerelease: true
|
||||
title: "Latest development build"
|
||||
files: |
|
||||
ffs.linux/ffs.linux
|
||||
ffs.macos/ffs.macos
|
||||
ffs/ffs.linux
|
||||
ffs/ffs.macos
|
||||
|
||||
|
||||
|
||||
|
51
.github/workflows/latest.yml
vendored
51
.github/workflows/latest.yml
vendored
@ -1,51 +0,0 @@
|
||||
name: Latest Development Build Pre-Release
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "main"
|
||||
|
||||
jobs:
|
||||
pre-release:
|
||||
name: "Pre-release"
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os:
|
||||
- macos-latest
|
||||
- ubuntu-latest
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
- name: Install FUSE
|
||||
run: |
|
||||
if [ "$RUNNER_OS" = "Linux" ]; then
|
||||
sudo apt-get install fuse libfuse-dev pkg-config attr
|
||||
elif [ "$RUNNER_OS" = "macOS" ]; then
|
||||
brew install macfuse pkg-config
|
||||
else
|
||||
echo Unsupported OS \'$RUNNER_OS\'
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Build ffs in release mode, run unit tests
|
||||
run: |
|
||||
cargo build --verbose --release
|
||||
cargo test
|
||||
|
||||
- name: Run integration tests
|
||||
run: PATH="$(pwd)/target/release:$PATH" ./run_tests.sh
|
||||
|
||||
- name: Deploy 'latest' release
|
||||
uses: "marvinpinto/action-automatic-releases@latest"
|
||||
with:
|
||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
automatic_release_tag: "${{ matrix.os }}"
|
||||
prerelease: true
|
||||
title: "Development build (${{ matrix.os }})"
|
||||
files: |
|
||||
target/release/ffs
|
Loading…
Reference in New Issue
Block a user