removed emojies
This commit is contained in:
38
.github/workflows/release.yaml
vendored
38
.github/workflows/release.yaml
vendored
@@ -1,4 +1,4 @@
|
||||
name: '📦 Release'
|
||||
name: 'Release'
|
||||
on:
|
||||
# Make a release whenever the developer wants.
|
||||
workflow_dispatch:
|
||||
@@ -26,13 +26,13 @@ on:
|
||||
default: "patch"
|
||||
jobs:
|
||||
release:
|
||||
name: '📦 Release'
|
||||
name: 'Release'
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
DOTNET_CLI_TELEMETRY_OPTOUT: true
|
||||
DOTNET_NOLOGO: true
|
||||
steps:
|
||||
- name: 🧾 Checkout
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
token: ${{ secrets.GH_BASIC }}
|
||||
@@ -40,17 +40,17 @@ jobs:
|
||||
submodules: 'recursive'
|
||||
fetch-depth: 0 # So we can get all tags.
|
||||
|
||||
- name: 🔎 Read Current Project Version
|
||||
- name: Read Current Project Version
|
||||
id: current-version
|
||||
uses: WyriHaximus/github-action-get-previous-tag@v2
|
||||
with:
|
||||
fallback: "0.0.0-devbuild"
|
||||
|
||||
- name: 🖨 Print Current Version
|
||||
- name: Print Current Version
|
||||
run: |
|
||||
echo "Current Version: ${{ steps.current-version.outputs.tag }}"
|
||||
|
||||
- name: 🧮 Compute Next Version
|
||||
- name: Compute Next Version
|
||||
uses: chickensoft-games/next-godot-csproj-version@v1
|
||||
id: next-version
|
||||
with:
|
||||
@@ -59,13 +59,13 @@ jobs:
|
||||
bump: ${{ inputs.bump }}
|
||||
|
||||
- uses: actions/setup-dotnet@v5
|
||||
name: 💽 Setup .NET SDK
|
||||
name: Setup .NET SDK
|
||||
with:
|
||||
# Use the .NET SDK from global.json in the root of the repository.
|
||||
global-json-file: global.json
|
||||
|
||||
# Write version to file so .NET will build correct version.
|
||||
- name: 📝 Write Version to File
|
||||
- name: Write Version to File
|
||||
uses: jacobtomlinson/gha-find-replace@v3
|
||||
with:
|
||||
find: "0.0.0-devbuild"
|
||||
@@ -73,26 +73,26 @@ jobs:
|
||||
regex: false
|
||||
include: GodotHelper/GodotHelper.csproj
|
||||
|
||||
- name: 📦 Build
|
||||
- name: Build
|
||||
working-directory: GodotHelper
|
||||
run: dotnet build -c Release
|
||||
|
||||
- name: 🔎 Get Package Path
|
||||
- name: Get Package Path
|
||||
id: package-path
|
||||
run: |
|
||||
package=$(find ./GodotHelper/nupkg -name "*.nupkg")
|
||||
echo "package=$package" >> "$GITHUB_OUTPUT"
|
||||
echo "📦 Found package: $package"
|
||||
echo "Found package: $package"
|
||||
|
||||
- name: ✨ Create Release
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GH_BASIC }}
|
||||
run: |
|
||||
version="${{ steps.next-version.outputs.version }}"
|
||||
gh release create --title "v$version" --generate-notes "$version" \
|
||||
"${{ steps.package-path.outputs.package }}"
|
||||
# - name: Create Release
|
||||
# env:
|
||||
# GITHUB_TOKEN: ${{ secrets.GH_BASIC }}
|
||||
# run: |
|
||||
# version="${{ steps.next-version.outputs.version }}"
|
||||
# gh release create --title "v$version" --generate-notes "$version" \
|
||||
# "${{ steps.package-path.outputs.package }}"
|
||||
|
||||
- name: 🛜 Publish to Nuget
|
||||
- name: Publish to Nuget
|
||||
run: |
|
||||
dotnet nuget push "${{ steps.package-path.outputs.package }}" \
|
||||
--source "http://192.168.1.4:3000/api/packages/Ronnie/nuget/index.json" \
|
||||
|
||||
Reference in New Issue
Block a user