Skip to content

Commit

Permalink
[ci] Try to improve continuous build, add all files in release
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Jul 8, 2024
1 parent 36bc838 commit 7576825
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 4 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/embedded.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,16 @@ jobs:
generate_release_notes: false
files: |
*.tar.gz
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
body: ""
append_body: true
generate_release_notes: false
files: |
*.tar.gz
# rpi_test:
# name: Raspberry
# runs-on: ubuntu-latest
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/flatpak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,16 @@ jobs:
with:
name: "Continuous"
tag_name: "continuous"
body: ""
append_body: true
generate_release_notes: false
files: |
*.flatpak
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
body: ""
append_body: true
generate_release_notes: false
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/mac-builds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,13 @@ jobs:
generate_release_notes: false
files: |
staging/*.*
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
body: ""
append_body: true
generate_release_notes: false
files: |
staging/*.*
11 changes: 11 additions & 0 deletions .github/workflows/win-builds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,17 @@ jobs:
generate_release_notes: false
files: |
output/*.appxbundle
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
body: ""
append_body: true
generate_release_notes: false
files: |
output/*.appxbundle
mingw:
runs-on: windows-latest
strategy:
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ stages:
assets: "$(System.DefaultWorkingDirectory)/*"
tagSource: userSpecifiedTag
title: "Continuous build"
assetUploadMode: "delete"
assetUploadMode: "replace"
isPreRelease: true

- task: GitHubRelease@1
Expand Down
4 changes: 2 additions & 2 deletions ci/jammy.deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
export TAG=$(echo "$GITHUB_REF" | sed "s/.*\///;s/^v//")

find . -name '*.deb'
mv *.deb "ossia score-$TAG-ubuntu22-amd64.deb" || true
mv build/*.deb "ossia score-$TAG-ubuntu22-amd64.deb" || true
mv *.deb "ossia score-$TAG-ubuntu2204-amd64.deb" || true
mv build/*.deb "ossia score-$TAG-ubuntu2204-amd64.deb" || true
5 changes: 4 additions & 1 deletion ci/osx-package.deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ echo " === code signing === "
if [[ "${CI_IS_AZURE}" = "1" ]]; then
echo "... unlock keychain "
security unlock-keychain -p travis build.keychain
export PACKAGE_ARCH=Intel
else
export PACKAGE_ARCH=AppleSilicon
fi


Expand Down Expand Up @@ -77,5 +80,5 @@ xcrun stapler validate ./*.dmg
[[ $? == 0 ]] || exit 1

# Archive
mv ./*.dmg "$BUILD_ARTIFACTSTAGINGDIRECTORY/ossia score-$TAG-macOS.dmg"
mv ./*.dmg "$BUILD_ARTIFACTSTAGINGDIRECTORY/ossia score-$TAG-macOS-$PACKAGE_ARCH.dmg"
mv "mac-sdk.zip" "$BUILD_ARTIFACTSTAGINGDIRECTORY/"

0 comments on commit 7576825

Please sign in to comment.