Fixes for pr 219 (#223) #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Make a new release | ||
on: | ||
release: | ||
branches: | ||
- master | ||
types: | ||
- published | ||
jobs: | ||
compile-ppc: | ||
name: Build for PowerPC cpus | ||
uses: ./.github/workflows/_compile.yml | ||
with: | ||
git_tag: ${{ github.event.release.tag_name }} | ||
gcc: 11 | ||
spe: "no" | ||
compile-spe: | ||
name: Build for PowerPC SPE cpus | ||
uses: ./.github/workflows/_compile.yml | ||
with: | ||
git_tag: ${{ github.event.release.tag_name }} | ||
gcc: 6 | ||
spe: "yes" | ||
announcements: | ||
needs: [compile-ppc, compile-spe] | ||
name: Notify on Discord on successful release | ||
uses: appleboy/discord-action@master | ||
with: | ||
webhook_id: ${{ secrets.DISCORD_ANNOUNCEMENTS_ID }} | ||
webhook_token: ${{ secrets.DISCORD_ANNOUNCEMENTS_TOKEN }} | ||
message: "New release of clib4: **${{ github.event.release.tag_name }}** has been created. Check it out at: https://github.com/AmigaLabs/clib4/releases/tag/${{ github.event.release.tag_name }}" | ||
username: "GitHub Actions" | ||
avatar_url: "https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png" |