Skip to content

fully correct and rename files in CI/CD #3

fully correct and rename files in CI/CD

fully correct and rename files in CI/CD #3

Workflow file for this run

name: Release
on:
push:
tags:
- '*'
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
# Download 32-bit artifacts
- name: Download Windows Build Artifact
uses: dawidd6/action-download-artifact@v9
with:
name: Windows Build
workflow: rust.yml
branch: master
path: ./artifacts/windows
- name: Download Linux Build Artifact
uses: dawidd6/action-download-artifact@v9
with:
name: Linux Build
workflow: rust.yml
branch: master
path: ./artifacts/linux
# Download 64-bit artifacts
- name: Download Windows x64 Build Artifact
uses: dawidd6/action-download-artifact@v9
with:
name: Windows Build x64
workflow: rust.yml
branch: master
path: ./artifacts/windows-x64
- name: Download Linux x64 Build Artifact
uses: dawidd6/action-download-artifact@v9
with:
name: Linux Build x64
workflow: rust.yml
branch: master
path: ./artifacts/linux-x64
- name: Create Release
uses: softprops/action-gh-release@v2
with:
name: Release ${{ github.ref_name }}
draft: true
generate_release_notes: true
files: |
./artifacts/windows/i686-win7-windows-msvc/release/rust_g.dll
./artifacts/windows/i686-win7-windows-msvc/release/rust_g.pdb
./artifacts/windows-x64/x86_64-pc-windows-msvc/release/rust_g64.dll
./artifacts/windows-x64/x86_64-pc-windows-msvc/release/rust_g64.pdb
./artifacts/linux/i686-unknown-linux-gnu/release/librust_g.so
./artifacts/linux-x64/x86_64-unknown-linux-gnu/release/librust_g64.so
./artifacts/windows/rust_g.dm