Skip to content

Commit

Permalink
test for upload
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 5f5d53b commit 1e2b1b0
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,28 @@ jobs:
run: |
pwd
mb2 -t SailfishOS-4.6.0.13-aarch64 build
- name: List RPMs
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/
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: rpms
path: /home/mersdk/harbour-tidalplayer/RPMS/*.rpm
path: /github/workspace/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
files: /github/workspace/RPMS/*.rpm
prerelease: true
body: Automated nightly build
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 1e2b1b0

Please sign in to comment.