Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
Cryolitia committed Dec 27, 2024
1 parent 9840afd commit bf02836
Showing 1 changed file with 3 additions and 44 deletions.
47 changes: 3 additions & 44 deletions .github/workflows/cross-build.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
name: Rust Cross Build
on:
workflow_dispatch:
inputs:
version:
description: 'Version number'
required: true
default: '7.0.0-beta-6'
env:
CARGO_PKG_VERSION: ${{ github.event.inputs.version }}
push:
branches:
- 'test'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -207,39 +202,3 @@ jobs:
name: bindings-wasm32-wasip1
path: ./target/wasm32-wasip1/release/libffi-wasm32-wasip1.wasm
if-no-files-found: error
create-release:
runs-on: ubuntu-latest
needs: [build-wasm, cross-build]
steps:
- name: Create Release
uses: actions/create-release@v1
id: create_release
with:
tag_name: ${{ github.event.inputs.version }}
release_name: Release ${{ github.event.inputs.version }}
body: |
Release ${{ github.event.inputs.version }}
draft: false
prerelease: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/download-artifact@v4
with:
path: ./artifacts
merge-multiple: true

- name: Display structure of downloaded files
run: ls -R ./artifacts

- name: prepare upload
run: |
mkdir release
- name: Release Upload Assets
uses: jaywcjlove/github-action-upload-assets@main
with:
tag: ${{github.event.inputs.version}}
asset-path: '["./artifacts/*"]'
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit bf02836

Please sign in to comment.