Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sgqy committed Jan 25, 2024
1 parent ce7df75 commit a43abc4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
- name: Get version from source code.
run: |
>> $GITHUB_ENV echo PKG_VER=$(egrep 'VERSION\s+=' src/AozoraEpub3.java | awk -F '"' '{print $2}')
- uses: actions/setup-java@v4
with:
Expand All @@ -17,10 +18,9 @@ jobs:
- run: gradle build
- run: mkdir -p bin
- run: gradle create_run_jar
- run: cp build/libs/AozoraEpub3.jar out/
- run: cp -r lib/LICENSE out/
- run: tar -zcf "AozoraEpub3.tgz" -C out/ .
- run: cp -v build/libs/AozoraEpub3.jar out/
- run: cp -vr lib/LICENSE out/
- uses: actions/upload-artifact@v4
with:
name: ${{ env.PKG_VER }}
path: AozoraEpub3.tgz
name: AozoraEpub3-${{ env.PKG_VER }}
path: out/

0 comments on commit a43abc4

Please sign in to comment.