Fixed Companion artifacts names
This commit is contained in:
@@ -91,9 +91,13 @@ jobs:
|
|||||||
mkdir output && \
|
mkdir output && \
|
||||||
tools/build-companion-nightly.sh $(pwd) $(pwd)/output/
|
tools/build-companion-nightly.sh $(pwd) $(pwd)/output/
|
||||||
|
|
||||||
|
- name: Compose release filename
|
||||||
|
# https://stackoverflow.com/questions/58033366/how-to-get-current-branch-within-github-actions
|
||||||
|
run: echo "artifact_name=edgetx-cpn-osx-${GITHUB_REF##*/}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Archive production artifacts
|
- name: Archive production artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: companion-nightly
|
name: "${{ env.artifact_name }}"
|
||||||
path: ${{github.workspace}}/output
|
path: ${{github.workspace}}/output
|
||||||
retention-days: 15
|
retention-days: 15
|
||||||
|
|||||||
@@ -85,9 +85,13 @@ jobs:
|
|||||||
CMAKE_PREFIX_PATH=$RUNNER_WORKSPACE/Qt/$QT_VERSION/$MINGW_PATH \
|
CMAKE_PREFIX_PATH=$RUNNER_WORKSPACE/Qt/$QT_VERSION/$MINGW_PATH \
|
||||||
tools/build-companion-nightly.sh $(pwd) $(pwd)/output/
|
tools/build-companion-nightly.sh $(pwd) $(pwd)/output/
|
||||||
|
|
||||||
|
- name: Compose release filename
|
||||||
|
# https://stackoverflow.com/questions/58033366/how-to-get-current-branch-within-github-actions
|
||||||
|
run: echo "artifact_name=edgetx-cpn-win-${GITHUB_REF##*/}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Archive production artifacts
|
- name: Archive production artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: companion-nightly
|
name: "${{ env.artifact_name }}"
|
||||||
path: ${{github.workspace}}/output
|
path: ${{github.workspace}}/output
|
||||||
retention-days: 15
|
retention-days: 15
|
||||||
|
|||||||
Reference in New Issue
Block a user