Skip to content

fix the naming for v4 #32

fix the naming for v4

fix the naming for v4 #32

Workflow file for this run

name: Auto release/check
on:
push:
tags:
- "v*"
env:
DATABASE_URL: ${{secrets.DATABASE_URL}}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SRC_DIR: ./ranked/parser # Relative path to the src dir (directory with Cargo.toml in) from root of project
jobs:
create-development-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Build
run: cargo build --verbose
working-directory: ./ranked/parser
#- name: Run tests
#run: cargo test --verbose
- name: Compile
id: compile
uses: rust-build/rust-build.action@v1.4.5
with:
RUSTTARGET: x86_64-pc-windows-gnu
UPLOAD_MODE: none
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: Binary-Windows
path: |
${{ steps.compile.outputs.BUILT_ARCHIVE }}
${{ steps.compile.outputs.BUILT_CHECKSUM }}
- name: Compile
id: compile2
uses: rust-build/rust-build.action@v1.4.5
with:
RUSTTARGET: x86_64-unknown-linux-musl
UPLOAD_MODE: none
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: Binary-Linux
path: |
${{ steps.compile2.outputs.BUILT_ARCHIVE }}
${{ steps.compile2.outputs.BUILT_CHECKSUM }}
- name: Release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "${{ github.ref_name }}"
prerelease: false
draft: true
title: ""
files: |
${{ steps.compile.outputs.BUILT_ARCHIVE }}
${{ steps.compile.outputs.BUILT_CHECKSUM }}
${{ steps.compile2.outputs.BUILT_ARCHIVE }}
${{ steps.compile2.outputs.BUILT_CHECKSUM }}