Skip to content

🤞 Merge pull request #4 from creeperita09/main #11

🤞 Merge pull request #4 from creeperita09/main

🤞 Merge pull request #4 from creeperita09/main #11

Workflow file for this run

name: Continuous release
on:
push:
branches: [main]
jobs:
build:
uses: ./.github/workflows/compile.yml
release:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
with:
name: cc-rpc-linux-amd64
path: bin
- uses: actions/download-artifact@v3
with:
name: cc-rpc-macos-amd64
path: bin
- uses: actions/download-artifact@v3
with:
name: cc-rpc-macos-arm64
path: bin
- uses: actions/download-artifact@v3
with:
name: cc-rpc-win-amd64.exe
path: bin
- name: Display structure of downloaded files
run: ls -R
working-directory: bin
- name: Upload to continuous release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -e
ls -lh bin/*
wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
bash upload.sh bin/*