Skip to content

Commit

Permalink
add nightly updater
Browse files Browse the repository at this point in the history
  • Loading branch information
mateoconlechuga committed Oct 8, 2024
1 parent 9dfcce2 commit bb6ce55
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/make.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Update Release
on:
workflow_dispatch:
repository_dispatch:
types: [ci-clibs-nightly]
jobs:
event:
runs-on: ubuntu-latest
steps:
- name: Download CE Libraries
uses: robinraju/release-downloader@v1
with:
repository: CE-Programming/toolchain
fileName: 'clibs_separately_in_zip.zip'
extract: true

- name: Download CE Libraries Zip
uses: robinraju/release-downloader@v1
with:
repository: CE-Programming/toolchain
fileName: 'clibs.8xg'
extract: true

- name: Download Current CE Libraries
uses: robinraju/release-downloader@v1
with:
fileName: 'clibs.8xg'
out-file-path: 'current'
extract: true

- name: Check for difference
run: diff clibs.8xg clibs.8xg &> /dev/null || echo "need to update"

- name: Update nightly release
uses: pyTooling/Actions/releaser@main
with:
tag: nightly
rm: true
token: ${{secrets.GITHUB_TOKEN}}
files: |
clibs.8xg
clibs_separately_in_zip.zip

0 comments on commit bb6ce55

Please sign in to comment.