Skip to content

Commit

Permalink
Postaction
Browse files Browse the repository at this point in the history
  • Loading branch information
kashamalasha committed Aug 11, 2023
1 parent 2004e74 commit 5f24bcf
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build artifacts
name: Clean release assets

on:
push:
Expand All @@ -10,12 +10,13 @@ jobs:
runs-on: macos-latest

steps:
- name: Get some infor from repo-
- name: Get latest release info
id: get_latest_release
uses: octokit/[email protected]
with:
query: |
query release($OWNER:String!,$REPO:String!) {
repository(owner:$OWNER,name:$REPO) {
query release($owner:String!,$repor:String!) {
repository(owner:$owner,name:$repo) {
releases(first:1) {
nodes {
name
Expand All @@ -27,7 +28,9 @@ jobs:
}
}
variables: |
OWNER: ${{ github.event.repository.owner.name }}
REPO: ${{ github.event.repository.name }}
owner: ${{ github.event.repository.owner.name }}
repo: ${{ github.event.repository.name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: "echo 'latest release: ${{ steps.get_latest_release.outputs.data }}"

0 comments on commit 5f24bcf

Please sign in to comment.