Browse Source

This sha8 approach works

pull/16/head
falkTX 1 year ago
parent
commit
18682bbc70
1 changed files with 21 additions and 6 deletions
  1. +21
    -6
      .github/workflows/build.yml

+ 21
- 6
.github/workflows/build.yml View File

@@ -33,9 +33,12 @@ jobs:
LDFLAGS: -static-libgcc -static-libstdc++
run: |
make -j $(nproc)
- name: Set sha8
id: slug
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)"
- uses: actions/upload-artifact@v2
with:
name: ${{ github.event.repository.name }}-linux-arm64-${{ github.event.pull_request.number || github.sha }}
name: ${{ github.event.repository.name }}-linux-arm64-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
path: |
bin/*

@@ -61,9 +64,12 @@ jobs:
LDFLAGS: -static-libgcc -static-libstdc++
run: |
make -j $(nproc)
- name: Set sha8
id: slug
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)"
- uses: actions/upload-artifact@v2
with:
name: ${{ github.event.repository.name }}-linux-armhf-${{ github.event.pull_request.number || github.sha }}
name: ${{ github.event.repository.name }}-linux-armhf-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
path: |
bin/*

@@ -81,9 +87,12 @@ jobs:
LDFLAGS: -static-libgcc -static-libstdc++
run: |
make -j $(nproc)
- name: Set sha8
id: slug
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)"
- uses: actions/upload-artifact@v2
with:
name: ${{ github.event.repository.name }}-linux-x64-${{ github.event.pull_request.number || github.sha }}
name: ${{ github.event.repository.name }}-linux-x64-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
path: |
bin/*

@@ -105,9 +114,12 @@ jobs:
run: |
make NOOPT=true -j $(sysctl -n hw.logicalcpu) && \
./dpf/utils/package-osx-bundles.sh
- name: Set sha8
id: slug
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)"
- uses: actions/upload-artifact@v2
with:
name: ${{ github.event.repository.name }}-macOS-universal-${{ github.event.pull_request.number || github.sha }}
name: ${{ github.event.repository.name }}-macOS-universal-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
path: |
*-macOS.pkg
bin/*
@@ -136,9 +148,12 @@ jobs:
WINEDEBUG: "-all"
run: |
make -j $(nproc)
- name: Set sha8
id: slug
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)"
- uses: actions/upload-artifact@v2
with:
name: ${{ github.event.repository.name }}-win32-${{ github.event.pull_request.number || github.sha }}
name: ${{ github.event.repository.name }}-win32-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
path: |
bin/*
!bin/*-ladspa.dll
@@ -162,7 +177,7 @@ jobs:
WINEDEBUG: "-all"
run: |
make -j $(nproc)
- name: Get short SHA
- name: Set sha8
id: slug
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)"
- uses: actions/upload-artifact@v2


Loading…
Cancel
Save