Skip to content

Commit

Permalink
[update #12] fix workflows + new ping workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tiawl authored Apr 25, 2024
2 parents dcc68a9 + 2943b75 commit d2ac56e
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: tiawl/spaceporn-dep-action-bot@v1
with:
token: "${{ github.token }}"
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
repository: "${{ github.repository }}"
sha: "${{ github.sha }}"
user: "${{ matrix.repo }}.zig"
token: "${{ github.token }}"
test_build: 'false'
test_update: 'true'
test_fetch: 'true'
24 changes: 24 additions & 0 deletions .github/workflows/ping.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: cd ping

on:
push:
tags:
- '*'

jobs:
ping:
permissions:
contents: write
strategy:
matrix:
repo:
- cimgui
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: tiawl/spaceporn-dep-action-cd-ping@v1
with:
repository_name: "${{ github.event.repository.name }}"
user: "${{ matrix.repo }}.zig"
tag: "${{ github.ref_name }}"
token: "${{ secrets.PAT }}"
3 changes: 2 additions & 1 deletion .github/workflows/pong.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: tiawl/spaceporn-dep-action-cd-pong@v1
if: ${{ contains(fromJSON('["vulkan.zig", "wayland.zig", "X11.zig"]'), github.event.client_payload.dependency) }}
if: ${{ contains(fromJSON('["toolbox", "vulkan.zig", "wayland.zig", "X11.zig"]'), github.event.client_payload.dependency) }}
with:
dependency: "${{ github.event.client_payload.dependency }}"
tag: "${{ github.event.client_payload.tag }}"
hash: "${{ github.event.client_payload.hash }}"
token: "${{ github.token }}"

0 comments on commit d2ac56e

Please sign in to comment.