Skip to content

Commit

Permalink
✨ add empty log settings support
Browse files Browse the repository at this point in the history
  • Loading branch information
Kreedzt committed May 3, 2024
1 parent 8589321 commit 4603560
Show file tree
Hide file tree
Showing 4 changed files with 308 additions and 112 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
target: x86_64-pc-windows-msvc
exe: rwr-profile-server.exe
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
profile: minimal
Expand All @@ -80,7 +80,7 @@ jobs:
continue-on-error: true
# Disable upx for mips. See https://github.com/upx/upx/issues/387
if: matrix.os == 'ubuntu-latest' && !contains(matrix.target, 'mips')
uses: crazy-max/ghaction-upx@v1
uses: crazy-max/ghaction-upx@v3
with:
version: v3.96
files: target/${{ matrix.target }}/release/${{ matrix.exe }}
Expand All @@ -90,14 +90,14 @@ jobs:
name: rwr-profile-server-${{ matrix.target }}
path: target/${{ matrix.target }}/release/${{ matrix.exe }}
- name: Zip Release
uses: TheDoctor0/zip-release@0.6.1
uses: TheDoctor0/zip-release@0.7.5
with:
type: zip
filename: rwr-profile-server-${{ matrix.target }}.zip
directory: target/${{ matrix.target }}/release/
path: ${{ matrix.exe }}
- name: Publish
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: target/${{ matrix.target }}/release/rwr-profile-server-${{ matrix.target }}.zip
Expand All @@ -110,15 +110,15 @@ jobs:
needs: release
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
push: true
tags: zhaozisong0/rwr-profile-server:latest, zhaozisong0/rwr-profile-server:${{ github.ref_name }}
Expand Down
Loading

0 comments on commit 4603560

Please sign in to comment.