Merge branch 'main' into push-binaries #10
Workflow file for this run
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: Upload binaries | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
push: | |
tags: | |
- v[0-9]+.* | |
jobs: | |
create-release: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: taiki-e/create-gh-release-action@v1 | |
with: | |
changelog: CHANGELOG.md | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
upload-assets: | |
strategy: | |
matrix: | |
include: | |
- target: aarch64-apple-darwin | |
os: macos-latest | |
# - target: x86_64-apple-darwin | |
# os: macos-latest | |
runs-on: ${{ matrix.os }} | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
# - name: Compile the Swift script | |
# run: | | |
# swiftc save_safari_webarchive.swift | |
# zip save_safari_webarchive.${{ matrix.target }}.zip save_safari_webarchive | |
- name: Get GitHub releases | |
run: | | |
gh release list --limit=1 | |
env: | |
GH_TOKEN: ${{ github.token }} | |
# with: | |
# target: ${{ matrix.target }} | |
# bin: dominant_colours | |
# tar: all | |
# zip: windows | |
# env: | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |