更新ipv6地址获取链接 #16
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will build a .NET project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net | |
name: Release | |
on: | |
push: | |
tags: ["*"] | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 6.0.x | |
- name: Restore dependencies | |
run: dotnet restore aliyun_ddns.csproj | |
- name: Publish win-x64 | |
run: dotnet publish aliyun_ddns.csproj -c win-x64 | |
- name: Publish win-arm64 | |
run: dotnet publish aliyun_ddns.csproj -c win-arm64 | |
- name: Publish linux-x64 | |
run: dotnet publish aliyun_ddns.csproj -c linux-x64 | |
- name: Publish linux-arm64 | |
run: dotnet publish aliyun_ddns.csproj -c linux-arm64 | |
- name: Publish osx-x64 | |
run: dotnet publish aliyun_ddns.csproj -c osx-x64 | |
- name: Publish osx-arm64 | |
run: dotnet publish aliyun_ddns.csproj -c osx-arm64 | |
- name: Create release | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: | | |
release/net6.0/win-x64/publish/* | |
release/net6.0/win-arm64/publish/* | |
release/net6.0/osx-x64/publish/* | |
release/net6.0/osx-arm64/publish/* | |
release/net6.0/linux-x64/publish/* | |
release/net6.0/linux-arm64/publish/* |