Skip to content

Commit

Permalink
test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
CODeRUS committed Aug 31, 2024
1 parent 6a4359a commit 9f5f02b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 37 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/02_get_artifact.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Create diff
run: |
Expand All @@ -17,19 +17,20 @@ jobs:
cp patch/*.qml patch/*.png patch/*.js patch/*.svg patch/*.qm .github/patch_data |:
- name: Upload build result
uses: actions/upload-artifact@v2
id: artifact-upload-step
uses: actions/upload-artifact@v4
with:
name: ${{ github.head_ref }}
path: .github/patch_data

- name: 'Comment PR'
uses: actions/github-script@v3
uses: actions/github-script@v7
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
github.issues.createComment({
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: 'Hello @${{ github.event.pull_request.user.login }}\nYour patch is ready as Artifact inside of [Checks](https://github.com/sailfishos-patches/sailfish-qml/pull/${{ github.event.pull_request.number }}/checks)\n\nTrying to get direct download link in couple of seconds...'
body: 'Hello @${{ github.event.pull_request.user.login }}\nYour patch is ready!\n\n[Download link](${{ steps.artifact-upload-step.outputs.artifact-url }})'
})
2 changes: 1 addition & 1 deletion usr/lib/qt5/qml/Sailfish/Silica/Button.qml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ SilicaMouseArea {
id: image

anchors.verticalCenter: parent.verticalCenter
objectName: "image"
objectName: "testimage"
}

Label {
Expand Down

0 comments on commit 9f5f02b

Please sign in to comment.