Skip to content

Commit

Permalink
fixup! ci: unify into single job
Browse files Browse the repository at this point in the history
  • Loading branch information
torkelrogstad committed Oct 4, 2024
1 parent 6f725f2 commit 06a8e86
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/check_lint_build_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,29 +106,27 @@ jobs:
echo "APP_VERSION=$APP_VERSION" >> "$GITHUB_ENV"
echo "APP_FILENAME=$APP_FILENAME" >> "$GITHUB_ENV"
- name: "Set filenames for release binaries"
run: |
pushd "target/release"
ln -fs "bip300301_enforcer${{ matrix.binary-suffix }}" "${APP_FILENAME}"
popd
- run: |
mkdir release
cp target/release/bip300301_enforcer${{ matrix.binary-suffix }} release/${APP_FILENAME}
echo all the files
ls -la target/release/*
ls -la release/*
- name: "Upload artifacts"
uses: actions/upload-artifact@v4
with:
name: ${{ env.APP_FILENAME }}
if-no-files-found: error
path: |
target/release/${{ env.APP_FILENAME }}
release/${{ env.APP_FILENAME }}
- name: Release
uses: softprops/[email protected]
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
target/release/${{ env.APP_FILENAME }}
release/${{ env.APP_FILENAME }}
fail_on_unmatched_files: true

upload-releases-to-releases-drivechain-info:
Expand Down

0 comments on commit 06a8e86

Please sign in to comment.