Apple Music ALAC / Dolby Atmos Downloader
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

57 lines
1.3 KiB

name: Go
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Build
run: |
go build -o main.exe -v ./main.go
- name: Create a new directory and copy files
run: |
mkdir -p alac
cp agent.js alac/
cp config.yaml alac/
cp README.md alac/
cp main.exe alac/
- name: Upload apple-music-alac-atmos-downloader
uses: actions/upload-artifact@v2
with:
name: apple-music-alac-atmos-downloader-windows
path: alac/*
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Build
run: |
go build -o main -v ./main.go
- name: Create a new directory and copy files
run: |
mkdir -p alac
cp agent.js alac/
cp config.yaml alac/
cp README.md alac/
cp main alac/
- name: Upload apple-music-alac-atmos-downloader
uses: actions/upload-artifact@v2
with:
name: apple-music-alac-atmos-downloader-linux
path: alac/*