Skip to content
This repository has been archived by the owner on Feb 19, 2024. It is now read-only.

chore(deps): update allenevans/set-env action to v3 #44

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Set version suffix for main branch
uses: allenevans/set-env@v2.2.0
uses: allenevans/set-env@v3.0.0
with:
VERSION_SUFFIX: ${{ github.sha }}
# Set NuGet package name since env.NUGET_PACKAGE_NAME doesn't resolve the variables
- name: Set NuGet package name
uses: allenevans/set-env@v2.2.0
uses: allenevans/set-env@v3.0.0
with:
NUGET_PACKAGE_NAME: Promitor.Parsers.Prometheus.Core.${{ env.NUGET_PACKAGE_VERSION }}-$VERSION_SUFFIX.nupkg
# Set NuGet package name since env.NUGET_PACKAGE_PATH doesn't resolve the variables
- name: Set NuGet package path
uses: allenevans/set-env@v2.2.0
uses: allenevans/set-env@v3.0.0
with:
NUGET_PACKAGE_PATH: ./src/Promitor.Parsers.Prometheus.Core/bin/Release/${{ env.NUGET_PACKAGE_NAME }}
- name: Setup .NET
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,33 +31,33 @@ jobs:
find: 'v'
replace: ''
- name: Set version for release trigger
uses: allenevans/set-env@v2.2.0
uses: allenevans/set-env@v3.0.0
if: ${{ github.event_name == 'release' }}
with:
NUGET_VERSION: ${{ steps.releasetag.outputs.value }}
- name: Set version for workflow dispatch
uses: allenevans/set-env@v2.2.0
uses: allenevans/set-env@v3.0.0
if: ${{ github.event_name == 'workflow_dispatch' }}
with:
NUGET_VERSION: ${{ github.event.inputs.version }}
# Set NuGet package name since env.NUGET_CORE_PACKAGE_NAME doesn't resolve the variables
- name: Set NuGet package name (Core)
uses: allenevans/set-env@v2.2.0
uses: allenevans/set-env@v3.0.0
with:
NUGET_CORE_PACKAGE_NAME: Promitor.Parsers.Prometheus.Core.${{ env.NUGET_VERSION }}.nupkg
# Set NuGet package name since env.NUGET_CORE_PACKAGE_PATH doesn't resolve the variables
- name: Set NuGet package path (Core)
uses: allenevans/set-env@v2.2.0
uses: allenevans/set-env@v3.0.0
with:
NUGET_CORE_PACKAGE_PATH: ./src/Promitor.Parsers.Prometheus.Core/bin/Release/${{ env.NUGET_CORE_PACKAGE_NAME }}
# Set NuGet package name since env.NUGET_HTTP_PACKAGE_NAME doesn't resolve the variables
- name: Set NuGet package name (HTTP)
uses: allenevans/set-env@v2.2.0
uses: allenevans/set-env@v3.0.0
with:
NUGET_HTTP_PACKAGE_NAME: Promitor.Parsers.Prometheus.Http.${{ env.NUGET_VERSION }}.nupkg
# Set NuGet package name since env.NUGET_HTTP_PACKAGE_PATH doesn't resolve the variables
- name: Set NuGet package path (HTTP)
uses: allenevans/set-env@v2.2.0
uses: allenevans/set-env@v3.0.0
with:
NUGET_HTTP_PACKAGE_PATH: ./src/Promitor.Parsers.Prometheus.Http/bin/Release/${{ env.NUGET_HTTP_PACKAGE_NAME }}
- name: Build Solution
Expand Down
Loading