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