v1.3.0 List folder objects and describe content in a single request #24
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 : Build and upload release packages | |
on: | |
release: | |
types: | |
- created | |
permissions: | |
contents: write | |
actions: write | |
jobs: | |
linux: | |
name: Linux build | |
runs-on: ubuntu-20.04 | |
env: | |
GOOS: linux | |
GOARCH: amd64 | |
CGO_ENABLED: 1 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: '1.16.10' | |
- name: Build Linux executable | |
run: | | |
set -x | |
go build -o dxfuse-linux cli/main.go | |
chmod +x dxfuse-linux | |
- name: Upload artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: dxfuse-linux | |
path: ./dxfuse-linux | |
- name: Upload release asset | |
uses: actions/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ github.event.release.upload_url }} | |
asset_path: ./dxfuse-linux | |
asset_name: dxfuse-linux | |
asset_content_type: binary/octet-stream | |
macos: | |
name: Macos build | |
runs-on: macos-10.15 | |
env: | |
GOOS: darwin | |
GOARCH: amd64 | |
CGO_ENABLED: 1 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: '1.16.10' | |
- name: Build Macos executable | |
run: | | |
set -x | |
go build -o dxfuse-macos cli/main.go | |
chmod +x dxfuse-macos | |
- name: Upload artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: dxfuse-macos | |
path: ./dxfuse-macos | |
- name: Upload release asset | |
uses: actions/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ github.event.release.upload_url }} | |
asset_path: ./dxfuse-macos | |
asset_name: dxfuse-macos | |
asset_content_type: binary/octet-stream |