Skip to content

Commit

Permalink
Update build-specified-target.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
honhimW committed Jan 3, 2025
1 parent 77e1d1b commit 3f935e5
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/build-specified-target.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,19 +64,18 @@ jobs:
- name: Create Meta File
run: |
echo "License : MIT" > META-INF
echo "Repository URL : ${GITHUB_REPOSITORY}" >> META-INF
echo "Repository URL : https://github.com/${GITHUB_REPOSITORY}" >> META-INF
echo "Commit SHA : ${{ github.sha }}" >> META-INF
echo "Build At : $(date)" >> META-INF
- name: Checksum
- name: Create Temp Dir
run: |
shasum -a 256 ./target/${{ github.event.inputs.target }}/release/ratisui | awk '{ print "Checksum SHA256 : " $1 }' >> META-INF
mkdir artifacts
mv ./target/${{ github.event.inputs.target }}/release/ratisui ./artifacts
mv META-INF ./artifacts
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: ratisui-${{ github.event.inputs.target }}
compression-level: 9
retention-days: 1
path: |
META-INF
./target/${{ github.event.inputs.target }}/release/ratisui
path: ./artifacts/*

0 comments on commit 3f935e5

Please sign in to comment.