aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release_binaries.yml17
1 files changed, 11 insertions, 6 deletions
diff --git a/.github/workflows/release_binaries.yml b/.github/workflows/release_binaries.yml
index d855c39..e7a54b6 100644
--- a/.github/workflows/release_binaries.yml
+++ b/.github/workflows/release_binaries.yml
@@ -6,7 +6,6 @@ jobs:
Build:
runs-on: ${{ matrix.os }}
strategy:
- fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
gcc_v: [9] # Version of GFortran we want to use.
@@ -101,22 +100,28 @@ jobs:
- name: Check that fpm --version matches release tag
if: contains(matrix.os, 'ubuntu')
- run: fpm run -- "--version" | grep $(git ls-remote --tags ./ | cut -d/ -f3)
+ run: |
+ cd fpm
+ fpm run -- "--version" | grep $(echo ${{ github.ref }} | cut -d/ -f3)
- name: Stage file for upload (Linux / macOS)
if: contains(matrix.os, 'ubuntu') || contains(matrix.os, 'macos')
- run: fpm run --runner cp -- fpm-${{ matrix.os }}-x86_64-debug
+ run: |
+ cd fpm
+ fpm run --runner cp -- fpm-${{ matrix.os }}-x86_64-debug
- name: Stage file for upload (Windows)
- if: contains(matrix.os, 'ubuntu') || contains(matrix.os, 'macos')
+ if: contains(matrix.os, 'windows')
shell: cmd
- run: fpm run --runner copy -- fpm-${{ matrix.os }}-x86_64-debug
+ run: |
+ cd fpm
+ fpm run --runner copy -- fpm-${{ matrix.os }}-x86_64-debug
- name: Upload dev trunk binary release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
- file: fpm-${{ matrix.os }}-x86_64-debug
+ file: fpm/fpm-${{ matrix.os }}-x86_64-debug
asset_name: fpm-${{ matrix.os }}-x86_64-debug
tag: ${{ github.ref }}
overwrite: true