next update #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build SFOS 4.2 | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: coderus/sailfishos-platform-sdk-aarch64:4.5.0.18 | |
steps: | |
- name: Setup and Check Environment | |
run: | | |
whoami | |
pwd | |
ls -la /home/mersdk | |
- name: Manual Checkout | |
run: | | |
cd /home/mersdk | |
git clone https://github.com/conradhuebler/harbour-tidalplayer.git | |
cd harbour-tidalplayer | |
git submodule update --init --recursive | |
ls -la | |
- name: Build for aarch64 | |
working-directory: /home/mersdk/harbour-tidalplayer | |
run: | | |
pwd | |
mb2 -t SailfishOS-4.5.0.18 build | |
- name: Upload artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: rpms | |
path: /home/mersdk/harbour-tidalplayer/RPMS/*.rpm | |
- name: Create/Update Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
tag_name: nightly | |
name: Nightly Build | |
files: /home/mersdk/harbour-tidalplayer/RPMS/*.rpm | |
prerelease: true | |
body: Automated nightly build | |
token: ${{ secrets.GITHUB_TOKEN }} | |
replace_artifacts: true |