Skip to content

Commit

Permalink
ci: ci skip: test token and gh
Browse files Browse the repository at this point in the history
  • Loading branch information
flowerinthenight committed Sep 28, 2024
1 parent 62dbce7 commit b59bac6
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ jobs:
if: "!contains(github.event.commits[0].message, 'ci skip')"
runs-on: ubuntu-latest
steps:
- name: Print GH context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: |
echo "$GITHUB_CONTEXT"
- name: Checkout code
uses: actions/checkout@v2

Expand All @@ -27,7 +33,10 @@ jobs:

- name: Release from tags
if: startsWith(github.event.ref, 'refs/tags/v')
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
echo "todo: release here"
zig build -Doptimize=ReleaseFast --summary all
ls -laF zig-out/
ls -laF zig-out/bin/
gh release list

0 comments on commit b59bac6

Please sign in to comment.