Skip to content

Update actions and cache dependencies (#81) #10

Update actions and cache dependencies (#81)

Update actions and cache dependencies (#81) #10

Workflow file for this run

---
name: Release
on:
push:
tags:
- v*
jobs:
build:
uses: ./.github/workflows/build.yml
release:
needs: build
runs-on: ubuntu-latest
steps:
- name: Download build artifact (macOS x86)
uses: actions/download-artifact@v3
with:
name: gwcli_macos_x86
path: macos_x86
- name: Download build artifact (Linux)
uses: actions/download-artifact@v3
with:
name: gwcli_linux
path: linux
- name: Copy and rename artifacts
run: |
cp macos_x86/gwcli gwcli_macos_x86
cp linux/gwcli gwcli_linux
- name: Create release
uses: softprops/action-gh-release@v1
with:
fail_on_unmatched_files: true
files: |
gwcli_macos_x86
gwcli_linux