Skip to content

Sync + Stable Release #59

Sync + Stable Release

Sync + Stable Release #59

Workflow file for this run

# Copyright (c) 2020 José Manuel Barroso Galindo <theypsilon@gmail.com>
# Adapted from https://github.com/MiSTer-DB9/Main_MiSTer
name: Sync + Stable Release
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
schedule:
- cron: '0 6 * * *'
workflow_dispatch:
permissions:
contents: write
jobs:
sync-and-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Sync upstream
id: sync
run: bash .github/sync_upstream.sh
- name: Cache ARM toolchain
uses: actions/cache@v4
with:
path: gcc-arm-10.2-2020.11-x86_64-arm-none-linux-gnueabihf
key: gcc-arm-10.2-2020.11
- name: Push merge commit
if: steps.sync.outputs.changed == 'true'
run: git push origin master
- name: Build stable release
run: bash .github/build_release.sh
env:
GH_TOKEN: ${{ github.token }}
SKIP_EXISTING_RELEASE: true
- name: Build unstable release
run: bash .github/build_unstable_release.sh
env:
GH_TOKEN: ${{ github.token }}
SKIP_EXISTING_RELEASE: true