Skip to content

ci: upload release artifacts #17

ci: upload release artifacts

ci: upload release artifacts #17

Workflow file for this run

name: Release artifacts
on:
push:
branches: ["ci/release-artifacts"]
pull_request:
branches: ["ci/release-artifacts"]
jobs:
build_release:
env:
RELEASE_TAG: "foo"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# - name: build
# run: make build
# - name: Prepare environment
# run: sh ci/install.sh
- name: Create artifacts folder
run: mkdir artifacts
- run: rustup target add x86_64-apple-darwin`
- uses: actions-rs/cargo@v1
with:
use-cross: true
command: build
args: --target x86_64-apple-darwin
# - name: Create artifacts for linux
# run: sh ci/script.sh
# env:
# TARGET: x86_64-unknown-linux-gnu
# - name: Create artifacts for darwin
# run: sh ci/script.sh
# env:
# TARGET: x86_64-apple-darwin
- name: LS files
run: ls && ls target