Skip to content

Commit

Permalink
test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
thelezend committed Sep 15, 2024
1 parent 09e543b commit 66b334d
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
with:
tag_name: latest
files: |
release-build-ubuntu-latest
target/release/solana-copy-trade-detect
target/release/solana-copy-trade-detect.exe
target/release/solana-copy-trade-detect
env:
Expand Down
41 changes: 41 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Release

on: workflow_dispatch

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Build project
run: cargo build --release

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: release-build
path: |
target/release/solana-copy-trade-detect
release:
needs: build
runs-on: ubuntu-latest
steps:
- name: Download Ubuntu build
uses: actions/download-artifact@v4
with:
name: release-build

- name: List files
run: ls -la

- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
tag_name: latest
files: |
target/release/solana-copy-trade-detect
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 66b334d

Please sign in to comment.