mirror of
https://github.com/Simplxss/SignerServer.git
synced 2024-11-21 00:37:53 +08:00
fix: build file name
This commit is contained in:
parent
b12c2206b8
commit
137ec4fd17
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -45,7 +45,7 @@ jobs:
|
||||
- name: Upload build
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: SignerServer-${{ matrix.os }}-${{ matrix.arch }}
|
||||
name: SignerServer-${{ matrix.os }}-${{ matrix.arch }}.zip
|
||||
path: |
|
||||
SignerServer.dll
|
||||
load.js
|
||||
@ -86,7 +86,7 @@ jobs:
|
||||
- name: Upload build
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: SignerServer-${{ matrix.os }}-${{ matrix.arch }}
|
||||
name: SignerServer-${{ matrix.os }}-${{ matrix.arch }}.zip
|
||||
path: |
|
||||
libSignerServer.so
|
||||
load.js
|
||||
|
36
.github/workflows/docker-publish.yml
vendored
36
.github/workflows/docker-publish.yml
vendored
@ -10,31 +10,33 @@ env:
|
||||
GITHUB_REPO: Simplxss/SignerServer
|
||||
|
||||
jobs:
|
||||
build:
|
||||
uses: ./.github/workflows/build.yml
|
||||
|
||||
publish-dockerhub:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Get artifacts
|
||||
run: |
|
||||
bash get_artifacts.sh ${{ secrets.GITHUB_TOKEN }} $(curl "https://api.github.com/repos/NapNeko/NapCatQQ/releases/latest" | jq -r '.tag_name')
|
||||
- name: Set up Docker buildx
|
||||
|
||||
- name: Download All Artifact
|
||||
uses: actions/download-artifact@v4
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
# Fork from https://github.com/koishijs/boilerplate/blob/master/.github/workflows/docker.yml
|
||||
- name: Run buildx and push
|
||||
run: |
|
||||
TAG=$(curl "https://api.github.com/repos/${GITHUB_REPO}/releases/latest" | jq -r '.tag_name')
|
||||
docker buildx build \
|
||||
--output "type=image,push=true" \
|
||||
--platform linux/amd64,linux/arm64 \
|
||||
--tag ${DOCKER_REPO}:$TAG \
|
||||
--tag ${DOCKER_REPO}:latest \
|
||||
--file ./Dockerfile \
|
||||
.
|
||||
- name: Docker Hub logout
|
||||
run: docker logout
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
push: true
|
||||
tags: user/app:latest
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -24,7 +24,7 @@ jobs:
|
||||
uses: actions/download-artifact@v4
|
||||
|
||||
- name: Create Release Draft and Upload Artifacts
|
||||
uses: softprops/action-gh-release@v1
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
name: SignerServer V${{ env.VERSION }}
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
@ -52,7 +52,7 @@ std::map<std::string, uint64_t> addrMap = {
|
||||
{"3.2.7-23361", 0x4C93C57}};
|
||||
#elif defined(_ARM64_ARCH_)
|
||||
std::map<std::string, uint64_t> addrMap = {
|
||||
{"3.2.7-23361", 0x4C93C57}};
|
||||
{"3.2.7-23361", 0x351EC98}};
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user