|
@ -251,6 +251,10 @@ jobs: |
|
|
with: |
|
|
with: |
|
|
fetch-depth: 0 |
|
|
fetch-depth: 0 |
|
|
|
|
|
|
|
|
|
|
|
- name: Fix Checkout |
|
|
|
|
|
run: | |
|
|
|
|
|
git fetch --force --tags |
|
|
|
|
|
|
|
|
- name: Install packages needed for build |
|
|
- name: Install packages needed for build |
|
|
run: | |
|
|
run: | |
|
|
sudo apt-get update |
|
|
sudo apt-get update |
|
@ -293,6 +297,10 @@ jobs: |
|
|
with: |
|
|
with: |
|
|
fetch-depth: 0 |
|
|
fetch-depth: 0 |
|
|
|
|
|
|
|
|
|
|
|
- name: Fix Checkout |
|
|
|
|
|
run: | |
|
|
|
|
|
git fetch --force --tags |
|
|
|
|
|
|
|
|
- name: Install packages needed for build |
|
|
- name: Install packages needed for build |
|
|
run: | |
|
|
run: | |
|
|
sudo apt-get install rpm |
|
|
sudo apt-get install rpm |
|
@ -328,6 +336,10 @@ jobs: |
|
|
steps: |
|
|
steps: |
|
|
- uses: actions/checkout@v2 |
|
|
- uses: actions/checkout@v2 |
|
|
|
|
|
|
|
|
|
|
|
- name: Fix Checkout |
|
|
|
|
|
run: | |
|
|
|
|
|
git fetch --force --tags |
|
|
|
|
|
|
|
|
- name: Configure and Build |
|
|
- name: Configure and Build |
|
|
shell: bash |
|
|
shell: bash |
|
|
run: | |
|
|
run: | |
|
@ -360,6 +372,10 @@ jobs: |
|
|
steps: |
|
|
steps: |
|
|
- uses: actions/checkout@v2 |
|
|
- uses: actions/checkout@v2 |
|
|
|
|
|
|
|
|
|
|
|
- name: Fix Checkout |
|
|
|
|
|
run: | |
|
|
|
|
|
git fetch --force --tags |
|
|
|
|
|
|
|
|
- name: Install packages needed for build |
|
|
- name: Install packages needed for build |
|
|
run: | |
|
|
run: | |
|
|
brew install automake |
|
|
brew install automake |
|
@ -403,6 +419,10 @@ jobs: |
|
|
steps: |
|
|
steps: |
|
|
- uses: actions/checkout@v2 |
|
|
- uses: actions/checkout@v2 |
|
|
|
|
|
|
|
|
|
|
|
- name: Fix Checkout |
|
|
|
|
|
run: | |
|
|
|
|
|
git fetch --force --tags |
|
|
|
|
|
|
|
|
- name: Install packages needed for build |
|
|
- name: Install packages needed for build |
|
|
run: | |
|
|
run: | |
|
|
brew install automake |
|
|
brew install automake |
|
@ -452,6 +472,10 @@ jobs: |
|
|
steps: |
|
|
steps: |
|
|
- uses: actions/checkout@v2 |
|
|
- uses: actions/checkout@v2 |
|
|
|
|
|
|
|
|
|
|
|
- name: Fix Checkout |
|
|
|
|
|
run: | |
|
|
|
|
|
git fetch --force --tags |
|
|
|
|
|
|
|
|
- name: Install cross compiler |
|
|
- name: Install cross compiler |
|
|
run: | |
|
|
run: | |
|
|
sudo apt-get update |
|
|
sudo apt-get update |
|
@ -481,8 +505,15 @@ jobs: |
|
|
|
|
|
|
|
|
# Given the clearly documented use of annotated tags to signal releases, |
|
|
# Given the clearly documented use of annotated tags to signal releases, |
|
|
# it seems strange that there is no simple way to trigger actions if the |
|
|
# it seems strange that there is no simple way to trigger actions if the |
|
|
# tag is annotated. So we need to jump through some hoops. |
|
|
# tag is annotated. So we need to jump through some extra hoops. |
|
|
# |
|
|
# |
|
|
|
|
|
# Looking at https://github.com/actions/checkout/issues/290 seems to show |
|
|
|
|
|
# that github just doesnt care about how git expects annotated tags to be |
|
|
|
|
|
# used. |
|
|
|
|
|
# |
|
|
|
|
|
# This workflow has added a `git fetch --force --tags` to every job that |
|
|
|
|
|
# needs to have working tags |
|
|
|
|
|
|
|
|
upload_release: |
|
|
upload_release: |
|
|
name: Upload Release Assets |
|
|
name: Upload Release Assets |
|
|
if: startsWith(github.ref, 'refs/tags/') |
|
|
if: startsWith(github.ref, 'refs/tags/') |
|
@ -496,9 +527,20 @@ jobs: |
|
|
runs-on: ubuntu-latest |
|
|
runs-on: ubuntu-latest |
|
|
|
|
|
|
|
|
steps: |
|
|
steps: |
|
|
|
|
|
- uses: actions/checkout@v2 |
|
|
|
|
|
|
|
|
|
|
|
- name: Fix Checkout |
|
|
|
|
|
run: | |
|
|
|
|
|
git fetch --force --tags |
|
|
|
|
|
|
|
|
- name: Get Tag Type |
|
|
- name: Get Tag Type |
|
|
|
|
|
id: get_tagtype |
|
|
run: | |
|
|
run: | |
|
|
echo '::set-output name=TAGTYPE::$(git cat-file -t $GITHUB_REF)' |
|
|
TYPE=$(git cat-file -t $GITHUB_REF) |
|
|
|
|
|
echo "::set-output name=TAGTYPE::$TYPE" |
|
|
|
|
|
echo ========== |
|
|
|
|
|
echo REF=$GITHUB_REF |
|
|
|
|
|
echo TAGTYPE=$TYPE |
|
|
|
|
|
|
|
|
- name: Fetch all Artifacts |
|
|
- name: Fetch all Artifacts |
|
|
if: steps.get_tagtype.outputs.TAGTYPE == 'tag' |
|
|
if: steps.get_tagtype.outputs.TAGTYPE == 'tag' |
|
|