mirror of
https://github.com/hectorm/docker-qemu-reactos
synced 2025-01-09 02:27:13 +00:00
Added workflow to rebuild the latest release
This commit is contained in:
parent
4ceea99e10
commit
b7363ac498
26
.github/workflows/trigger-rebuild-latest-release.yml
vendored
Normal file
26
.github/workflows/trigger-rebuild-latest-release.yml
vendored
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
name: 'Trigger rebuild of latest release'
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '20 04 * * 1'
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
trigger-rebuild:
|
||||||
|
name: 'Trigger rebuild'
|
||||||
|
runs-on: 'ubuntu-latest'
|
||||||
|
steps:
|
||||||
|
- name: 'REST API call'
|
||||||
|
run: |
|
||||||
|
curl -fsS --proto '=https' --tlsv1.3 \
|
||||||
|
--url 'https://api.github.com/repos/${{ github.repository }}/actions/workflows/ci.yml/dispatches' \
|
||||||
|
--header 'Authorization: Bearer ${{ secrets.PERSONAL_GITHUB_TOKEN }}' \
|
||||||
|
--header 'Accept: application/vnd.github.v3+json' \
|
||||||
|
--header 'Content-Type: application/json' \
|
||||||
|
--data "$(curl -fsS --proto '=https' --tlsv1.3 \
|
||||||
|
--url 'https://api.github.com/repos/${{ github.repository }}/releases/latest' \
|
||||||
|
--header 'Authorization: Bearer ${{ secrets.PERSONAL_GITHUB_TOKEN }}' \
|
||||||
|
--header 'Accept: application/vnd.github.v3+json' \
|
||||||
|
--header 'Content-Type: application/json' \
|
||||||
|
| jq -rc '{ ref: .tag_name }')"
|
Loading…
Reference in New Issue
Block a user