ci: upload release artifacts #17
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: 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 |