YAY
This commit is contained in:
13
.github/workflows/auto_release.yaml
vendored
13
.github/workflows/auto_release.yaml
vendored
@@ -32,11 +32,11 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
# with:
|
with:
|
||||||
# # Use your GitHub Personal Access Token variable here.
|
# Use your GitHub Personal Access Token variable here.
|
||||||
# token: ${{ secrets.NUGET_KEY }}
|
token: ${{ secrets.NUGET_KEY }}
|
||||||
# lfs: true
|
lfs: true
|
||||||
# submodules: 'recursive'
|
submodules: 'recursive'
|
||||||
|
|
||||||
- name: Check Test Results
|
- name: Check Test Results
|
||||||
id: tests
|
id: tests
|
||||||
@@ -76,6 +76,7 @@ jobs:
|
|||||||
if: needs.auto_release.outputs.should_release == 'true'
|
if: needs.auto_release.outputs.should_release == 'true'
|
||||||
secrets:
|
secrets:
|
||||||
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
|
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
|
||||||
# GH_BASIC: ${{ secrets.GH_BASIC }}
|
GH_BASIC: ${{ secrets.GH_BASIC }}
|
||||||
with:
|
with:
|
||||||
bump: patch
|
bump: patch
|
||||||
|
#994139c880db4bab879ae724ce1ac43b87c88e42
|
||||||
|
|||||||
31
.github/workflows/release.yaml
vendored
31
.github/workflows/release.yaml
vendored
@@ -14,9 +14,9 @@ on:
|
|||||||
NUGET_API_KEY:
|
NUGET_API_KEY:
|
||||||
description: "API key for Nuget"
|
description: "API key for Nuget"
|
||||||
required: true
|
required: true
|
||||||
# GH_BASIC:
|
GH_BASIC:
|
||||||
# description: "Personal access token (PAT) for GitHub"
|
description: "Personal access token (PAT) for GitHub"
|
||||||
# required: true
|
required: true
|
||||||
# Input unifies with the workflow dispatch since it's identical.
|
# Input unifies with the workflow dispatch since it's identical.
|
||||||
inputs:
|
inputs:
|
||||||
bump:
|
bump:
|
||||||
@@ -34,11 +34,11 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
# with:
|
with:
|
||||||
# token: ${{ secrets.GH_BASIC }}
|
token: ${{ secrets.GH_BASIC }}
|
||||||
# lfs: true
|
lfs: true
|
||||||
# submodules: 'recursive'
|
submodules: 'recursive'
|
||||||
# fetch-depth: 0 # So we can get all tags.
|
fetch-depth: 0 # So we can get all tags.
|
||||||
|
|
||||||
- name: Read Current Project Version
|
- name: Read Current Project Version
|
||||||
id: current-version
|
id: current-version
|
||||||
@@ -82,14 +82,15 @@ jobs:
|
|||||||
package=$(find ./GodotHelper/nupkg -name "*.nupkg")
|
package=$(find ./GodotHelper/nupkg -name "*.nupkg")
|
||||||
echo "package=$package" >> "$GITHUB_OUTPUT"
|
echo "package=$package" >> "$GITHUB_OUTPUT"
|
||||||
echo "Found package: $package"
|
echo "Found package: $package"
|
||||||
|
echo "${{ steps.package-path.outputs.package }}"
|
||||||
|
|
||||||
# - name: Create Release
|
- name: Create Release
|
||||||
# env:
|
env:
|
||||||
# GITHUB_TOKEN: ${{ secrets.GH_BASIC }}
|
GITHUB_TOKEN: ${{ secrets.GH_BASIC }}
|
||||||
# run: |
|
run: |
|
||||||
# version="${{ steps.next-version.outputs.version }}"
|
version="${{ steps.next-version.outputs.version }}"
|
||||||
# gh release create --title "v$version" --generate-notes "$version" \
|
gh release create --title "v$version" --generate-notes "$version" \
|
||||||
# "${{ steps.package-path.outputs.package }}"
|
"${{ steps.package-path.outputs.package }}"
|
||||||
|
|
||||||
- name: Publish to Nuget
|
- name: Publish to Nuget
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user