Skip to content

Commit

Permalink
Update tst.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mralusw authored Apr 2, 2024
1 parent 1ad8021 commit d6e30c4
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/tst.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,15 @@ jobs:
kstr0k_tag: ${{ steps.check-updates.outputs.kstr0k_tag }}

steps:
- name: Set up param
id: param
run: awk -F/ '{print"owner="$1"\nrepo="$2}' <<< "${{ github.repository }}" >> "$GITHUB_OUTPUT"

- name: Get latest tags
id: latest-tags
uses: octokit/graphql-action@v2.x
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
query: |
query($owner1:String!,$repo1:String!) {
appimage: repository(owner:$owner1, name:$repo1) {
query($myowner:String!,$myrepo:String!) {
appimage: repository(owner:$myowner, name:$myrepo) {
refs(refPrefix:"refs/tags/", last:2) {
edges { node { name } }
}
Expand All @@ -41,8 +37,8 @@ jobs:
}
}
}
owner1: ${{ steps.param.outputs.owner }}
repo1: ${{ steps.param.outputs.repo }}
myowner: ${{ github.repository_owner }}
myrepo: ${{ github.event.repository.name }}


- name: Check updates
Expand Down

0 comments on commit d6e30c4

Please sign in to comment.