Skip to content

Commit

Permalink
chore: test gh cli commands
Browse files Browse the repository at this point in the history
  • Loading branch information
sweatybridge committed Feb 27, 2024
1 parent d5129fd commit 178fed0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ on:
- develop

jobs:
settings:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- run: gh release view
- run: gh release list --limit 1 --json tagName

test:
name: Test
runs-on: ubuntu-latest
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- run: gh release list --limit 1 --json tag_name
- uses: actions/checkout@v4
- run: gh release list --limit 1 --json tagName
- run: gh release edit v${{ needs.release.outputs.new-release-version }} --latest

commit:
Expand Down

0 comments on commit 178fed0

Please sign in to comment.