Skip to content

Instantly share code, notes, and snippets.

@melpon
Last active January 5, 2020 11:32
Show Gist options
  • Save melpon/0c3c1f5b0026af1bbf07f77b05bac03c to your computer and use it in GitHub Desktop.
Save melpon/0c3c1f5b0026af1bbf07f77b05bac03c to your computer and use it in GitHub Desktop.
name: build
on:
schedule:
# 毎日 09:00 JST
- cron: "0 0 * * *"
jobs:
build-linux:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- run: ./build.ubuntu-18.04_armv8.sh
- name: Release ubuntu-18.04_armv8 latest
uses: WebFreak001/deploy-nightly@v1.0.2
env:
GITHUB_TOKEN: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
with:
upload_url: "https://uploads.github.com/repos/shiguredo-webrtc-build/webrtc-build/releases/22591864/assets{?name,label}"
release_id: 22591864
asset_path: _package/ubuntu-18.04_armv8/webrtc.tar.gz
asset_name: webrtc.ubuntu-18.04_armv8.latest.tar.gz
asset_content_type: application/gzip
- name: Release ubuntu-18.04_armv8 nightly
uses: WebFreak001/deploy-nightly@v1.0.2
env:
GITHUB_TOKEN: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
with:
upload_url: "https://uploads.github.com/repos/shiguredo-webrtc-build/webrtc-build/releases/22591864/assets{?name,label}"
release_id: 22591864
asset_path: _package/ubuntu-18.04_armv8/webrtc.tar.gz
asset_name: webrtc.ubuntu-18.04_armv8.$$.tar.gz
asset_content_type: application/gzip
max_releases: 7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment