Skip to content

Commit

Permalink
upload II
Browse files Browse the repository at this point in the history
Signed-off-by: Conrad Hübler <Conrad.Huebler@gmx.net>
  • Loading branch information
conradhuebler committed Dec 27, 2024
1 parent 1e2b1b0 commit aac542f
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,27 +35,24 @@ jobs:
pwd
mb2 -t SailfishOS-4.6.0.13-aarch64 build
- name: List RPMs
- name: Rename RPM to noarch
run: |
ls -la /home/mersdk/harbour-tidalplayer/RPMS/
- name: Copy RPMs
run: |
mkdir -p /github/workspace/RPMS
cp /home/mersdk/harbour-tidalplayer/RPMS/*.rpm /github/workspace/RPMS/
cd /home/mersdk/harbour-tidalplayer/RPMS/
mv harbour-tidalplayer-*-1.aarch64.rpm harbour-tidalplayer-master-1.noarch.rpm
ls -la
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: rpms
path: /github/workspace/RPMS/*.rpm
path: /home/mersdk/harbour-tidalplayer/RPMS/harbour-tidalplayer-master-1.noarch.rpm

- name: Create/Update Release
uses: softprops/action-gh-release@v1
with:
tag_name: nightly
name: Nightly Build
files: /github/workspace/RPMS/*.rpm
files: /home/mersdk/harbour-tidalplayer/RPMS/harbour-tidalplayer-master-1.noarch.rpm
prerelease: true
body: Automated nightly build
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit aac542f

Please sign in to comment.