Skip to content

Repository files navigation

Actions

Sync(dotfiles)Sync(GitHub settings)Sync(labels)Sync(secrets)

GitHub Actions関連ファイルの管理と、各種設定の同期を行うリポジトリです。

目次

複合アクション

check-extension

リポジトリ内に特定拡張子のファイルが含まれているか確認するアクションです。

on:
workflow_dispatch:
permissions: {}jobs:
main:
runs-on: ubuntu-lateststeps:
- name: Checkout repositoryuses: actions/checkout@v4
- name: Check extensionid: check-extensionuses: finphie/Actions/.github/actions/check-extension@mainwith:
path: ${{ github.workspace }}recurse: false
- run: | echo '${{ steps.check-extension.outputs.dotnet }}' echo '${{ steps.check-extension.outputs.powershell }}' echo '${{ steps.check-extension.outputs.python }}' echo '${{ steps.check-extension.outputs.html }}' echo '${{ steps.check-extension.outputs.javascript }}' echo '${{ steps.check-extension.outputs.typescript }}' echo '${{ steps.check-extension.outputs.json }}' echo '${{ steps.check-extension.outputs.yaml }}' echo '${{ steps.check-extension.outputs.markdown }}' echo '${{ steps.check-extension.outputs.docker }}' echo '${{ steps.check-extension.outputs.nuget }}' echo '${{ steps.check-extension.outputs.zip }}' echo '${{ steps.check-extension.outputs.exe }}'

引数

名前必須デフォルト説明
pathfalse${{ github.workspace }}検索対象のディレクトリ。
recursefalsefalse再帰検索するかどうか。

環境変数

なし

出力

名前説明
dotnet.NETファイルが含まれているかどうか。
powershellPowerShellファイルが含まれているかどうか。
pythonPythonファイルが含まれているかどうか。
htmlHTMLファイルが含まれているかどうか。
javascriptJavaScriptファイルが含まれているかどうか。
typescriptTypeScriptファイルが含まれているかどうか。
jsonJSONファイルが含まれているかどうか。
yamlYAMLファイルが含まれているかどうか。
markdownMarkdownファイルが含まれているかどうか。
dockerDockerfileが含まれているかどうか。
nugetNuGetパッケージファイルが含まれているかどうか。
zipzipファイルが含まれているかどうか。
exeexeファイルが含まれているかどうか。

compress-archive

圧縮されたアーカイブを作成するアクションです。

on:
workflow_dispatch:
permissions: {}jobs:
main:
runs-on: ubuntu-lateststeps:
- name: Compress archiveuses: finphie/Actions/.github/actions/compress-archive@mainwith:
path: target-pathdestination-path: a.ziproot: true
- name: Compress archiveuses: finphie/Actions/.github/actions/compress-archive@mainwith:
path: target-pathtype: zipdestination-path: destination-directoryroot: falsesuffix: _suffixexclude: | *.exe

引数

名前必須デフォルト説明
pathtrue圧縮対象のファイルが存在するディレクトリ。
typefalsezip圧縮形式。zip/gzipのいずれか。
destination-pathfalserootがtrueの場合は、出力先ファイルパス。falseの場合は、出力先ディレクトリ。
rootfalsetruepath内のディレクトリ毎にzipファイルを作成するかどうか。
suffixfalsezipファイル名の末尾に追加する文字列。rootがfalseの場合のみ有効。
excludefalseディレクトリ内のファイルが1個の場合、圧縮対象とせずコピーを行うファイルのリスト。rootがfalseの場合のみ有効。

環境変数

なし

出力

なし

copy-github-labels

GitHubラベルをソース元のリポジトリからコピーするアクションです。

on:
workflow_dispatch:
permissions: {}jobs:
main:
runs-on: ubuntu-lateststeps:
- name: Copy GitHub labelsuses: finphie/Actions/.github/actions/copy-github-labels@mainwith:
repositories: | finphie/dotfilessource-repository: finphie/Actionsdelete: falseenv:
GITHUB_TOKEN: ${{ secrets.TOKEN }}

引数

名前必須デフォルト説明
repositoriestrueリポジトリのリスト。
source-repositorytrueソース元のリポジトリ。
deletefalsefalse既存のラベルを削除するかどうか。

環境変数

名前必須デフォルト説明
GITHUB_TOKENtrueIssuesまたはPull requestsに書き込み許可が付与されたトークン。GitHub Actions内で自動生成されるトークンは使用不可。

出力

なし

create-pull-request

プルリクエストを作成するアクションです。

同一リポジトリにプルリクエストを出す場合

on:
push:
workflow_dispatch:
permissions:
contents: writepull-requests: writejobs:
main:
runs-on: ubuntu-lateststeps:
- name: Checkout repositoryif: github.ref_name == 'main'uses: actions/checkout@v4with:
ref: ${{ github.ref }}
- name: Checkout repositoryif: github.ref_name != 'main'uses: actions/checkout@v4with:
fetch-depth: 0
- name: Create pull requestuses: finphie/Actions/.github/actions/create-pull-request@mainwith:
path: ${{ github.workspace }}commit-message: Commit messagebranch: create-pull-requestlabels: testenv:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

他のリポジトリにプルリクエストを出す場合

on:
workflow_dispatch:
permissions: {}jobs:
main:
runs-on: ubuntu-lateststeps:
- name: Checkout repositoryuses: actions/checkout@v4with:
repository: finphie/dotfilestoken: ${{ secrets.TOKEN }}
- name: Create pull requestuses: finphie/Actions/.github/actions/create-pull-request@mainwith:
path: ${{ github.workspace }}commit-message: Commit messagebranch: create-pull-requestlabels: testenv:
GITHUB_TOKEN: ${{ secrets.TOKEN }}

引数

名前必須デフォルト説明
pathfalse${{ github.workspace }}リポジトリのパス。
commit-messagetrueコミットメッセージ。
branchfalsecreate-pull-requestブランチ名。
labelsfalseラベルのリスト。

環境変数

名前必須デフォルト説明
GITHUB_TOKENtrueContentsとPull requestsスコープの書き込み許可が付与されたトークン。他のリポジトリにPRを出す場合、GitHub Actions内で自動生成されるトークンは使用不可。

出力

なし

create-release

リリースを作成するアクションです。

on:
workflow_dispatch:
permissions:
contents: writejobs:
main:
runs-on: ubuntu-lateststeps:
- name: Create releaseuses: finphie/Actions/.github/actions/create-release@mainwith:
title: Version 1.0.0tag: v1.0.0files: | **/*.zip **/*.exeenv:
GITHUB_TOKEN: ${{ secrets.TOKEN }}

引数

名前必須デフォルト説明
titletrueリリースのタイトル。
tagtrue対象のgitタグ。
filesfalseアップロード対象のファイルリスト。

環境変数

名前必須デフォルト説明
GITHUB_TOKENtrueContentsスコープの書き込み許可が付与されたトークン。

出力

なし

dotnet-pack

dotnet packコマンドを実行するアクションです。

on:
workflow_dispatch:
permissions: {}jobs:
main:
runs-on: ubuntu-lateststeps:
- name: Checkout repositoryuses: actions/checkout@v4
- name: .NET Packuses: finphie/Actions/.github/actions/dotnet-pack@mainwith:
dotnet-version: 11.0.100-preview.3.26207.106configuration: Releaseversion: '1.0.0'output-directory: pack

引数

名前必須デフォルト説明
dotnet-versionfalse11.0.100-preview.3.26207.106インストールする.NET SDKバージョン。
configurationfalseReleaseビルド構成。
versiontrueバージョンを表す文字列。
output-directoryfalsepack出力先ディレクトリ。

環境変数

なし

出力

名前説明
successnupkgファイルの生成に成功したかどうか。

dotnet-publish

dotnet publishコマンドを実行するアクションです。Source/${{ project }}/${{ project }}.csprojを前提とします。

on:
workflow_dispatch:
permissions: {}jobs:
main:
runs-on: windows-lateststeps:
- name: Checkout repositoryuses: actions/checkout@v4
- name: .NET Publishuses: finphie/Actions/.github/actions/dotnet-publish@mainwith:
dotnet-version: 11.0.100-preview.3.26207.106project: ProjectNameconfiguration: Releaseversion: '1.0.0'target-framework-moniker: net9.0target-platform-identifier: nonetarget-platform-version: ''runtime: win-x64workload-restore: falseoutput-directory: publish

引数

名前必須デフォルト説明
dotnet-versionfalse11.0.100-preview.3.26207.106インストールする.NET SDKバージョン。
projecttrueプロジェクト名。
configurationfalseReleaseビルド構成。
versiontrueバージョンを表す文字列。
target-framework-monikerfalsenet9.0ターゲットフレームワーク。net9.0/net8.0/net7.0/net6.0のいずれか。
target-platform-identifierfalsenoneプラットフォーム識別子。none/windows/android/maccatalyst/ios/tvos/tizenのいずれか。
target-platform-versionfalseプラットフォームバージョンを表す文字列。
runtimetrueランタイム識別子。
workload-restorefalsefalsedotnet workload restoreを実行するかどうか。
output-directoryfalsepublish出力先ディレクトリ。

環境変数

なし

出力

なし

get-dotnet-projects

.NETプロジェクトの情報を取得するアクションです。

on:
workflow_dispatch:
permissions: {}jobs:
main:
runs-on: ubuntu-lateststeps:
- name: Checkout repositoryuses: actions/checkout@v4
- name: Get .NET projectsid: get-dotnet-projectsuses: finphie/Actions/.github/actions/get-dotnet-projects@mainwith:
solution-name: ${{ github.event.repository.name }}projects: | Project1,Console Project2,Windows Project3,Android Project4,Server Project5,Browsersettings-file-path: default.json
- run: | echo '${{ steps.get-dotnet-projects.outputs.projects }}'

引数

名前必須デフォルト説明
solution-namefalse-ソリューション名。
projectstrue「プロジェクト名,プラットフォーム名」区切りのリスト。
settings-file-pathfalsedefault.json設定ファイルのパス。

環境変数

なし

出力

名前説明
projectsupload-artifacts-dotnet.ymlワークフローの引数となるJSON文字列を出力する。

get-github-repositories

GitHubリポジトリ名を取得するアクションです。

on:
workflow_dispatch:
permissions: {}jobs:
main:
runs-on: ubuntu-lateststeps:
- name: Get GitHub repositoriesid: get-github-repositoriesuses: finphie/Actions/.github/actions/get-github-repositories@mainwith:
archived: falsefork: falselanguage: ''no-archived: falsesource: falsevisibility: publicexclude: ''json: falseenv:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: | echo '${{ steps.get-github-repositories.outputs.repositories }}'

引数

名前必須デフォルト説明
sourcefalsefalseフォークではないリポジトリを取得する。forkと同時に有効にはできない。
forkfalsefalseフォークしたリポジトリを取得する。sourceと同時に有効にはできない。
archivedfalsefalseアーカイブされたリポジトリを取得する。no-archivedと同時に有効にはできない。
no-archivedfalsefalseアーカイブされていないリポジトリを取得する。archivedと同時に有効にはできない。
languagefalse指定された言語が主要なリポジトリを取得する。
visibilityfalsepublic指定された可視性(public/private/internal)のリポジトリを取得する。
excludefalse除外する「オーナー名/リポジトリ名」形式のリスト。
jsonfalsefalseJSON形式で出力するかどうか。

環境変数

名前必須デフォルト説明
GITHUB_TOKENtrueMetadataスコープの読み取り許可が付与されたトークン。

出力

名前説明
repositories「オーナー名/リポジトリ名」のリスト。

get-repository-name

リポジトリ名を取得するアクションです。

on:
workflow_dispatch:
permissions: {}jobs:
main:
runs-on: ubuntu-lateststeps:
- name: Get repository nameid: get-repository-nameuses: finphie/Actions/.github/actions/get-repository-name@mainwith:
repository: finphie/Actions
- run: | echo '${{ steps.get-repository-name.outputs.repository-name }}'

引数

名前必須デフォルト説明
repositorytrueowner/repoまたはrepo形式のリポジトリ名。

環境変数

なし

出力

名前説明
repository-nameリポジトリ名。

git-push

Git pushを実行するアクションです。

on:
pull_request:
permissions:
contents: writejobs:
main:
runs-on: ubuntu-lateststeps:
- name: Checkout repositoryuses: actions/checkout@v4with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Git pushuses: finphie/Actions/.github/actions/git-push@mainwith:
commit-message: Commit message

引数

名前必須デフォルト説明
commit-messagetrueコミットメッセージ。

環境変数

なし

出力

なし

git-versioning

バージョン情報を取得するアクションです。

on:
push:
permissions: {}jobs:
main:
runs-on: ubuntu-lateststeps:
- name: Checkout repositoryuses: actions/checkout@v4
- name: Git versioningid: git-versioninguses: finphie/Actions/.github/actions/git-versioning@mainwith:
file-name: version.jsonhash: ${{ github.sha }}revision: ${{ github.run_number }}
- run: | echo '${{ steps.git-versioning.outputs.version }}' echo '${{ steps.git-versioning.outputs.version-major }}' echo '${{ steps.git-versioning.outputs.version-minor }}' echo '${{ steps.git-versioning.outputs.version-build }}' echo '${{ steps.git-versioning.outputs.version-revision }}' echo '${{ steps.git-versioning.outputs.release }}'

引数

名前必須デフォルト説明
file-namefalseversion.jsonバージョンを設定しているJSONファイルの名前。
hashfalse${{ github.sha }}基点とするコミットハッシュ値。このハッシュ値以降のコミットで、JSONファイルが更新されている場合は安定版リリースとなり、リビジョン番号を省略したバージョン形式となる。
revisionfalse${{ github.run_number }}リビジョン番号を表す数値。

環境変数

なし

出力

名前説明
versionバージョンを表す文字列。
version-majorメジャー番号を表す数値。
version-minorマイナー番号を表す数値。
version-buildビルド番号を表す数値。
version-revisionリビジョン番号を表す数値。
release安定版リリースかどうか。

pascal-to-kebab

指定されたテキストを、PascalCaseからkebab-caseに変換するアクションです。

on:
workflow_dispatch:
permissions: {}jobs:
main:
runs-on: ubuntu-lateststeps:
- name: Pascal to kebabid: pascal-to-kebabuses: finphie/Actions/.github/actions/pascal-to-kebab@mainwith:
text: Text
- run: | echo '${{ steps.pascal-to-kebab.outputs.text }}'

引数

名前必須デフォルト説明
texttrue変換対象の文字列。

環境変数

なし

出力

名前説明
text変換後の文字列。

read-file

テキストファイルを読み込むアクションです。

on:
workflow_dispatch:
permissions: {}jobs:
main:
runs-on: ubuntu-lateststeps:
- name: Checkout repositoryuses: actions/checkout@v4
- name: Read fileid: read-fileuses: finphie/Actions/.github/actions/read-file@mainwith:
file-path: text.txt
- run: | echo '${{ steps.read-file.outputs.text }}'

引数

名前必須デフォルト説明
file-pathtrueテキストファイルのパス。

環境変数

なし

出力

名前説明
textファイル内容。

run-msbuild-target

MSBuildターゲットを実行するアクションです。

on:
workflow_dispatch:
permissions: {}jobs:
main:
runs-on: ubuntu-lateststeps:
- name: Run MSBuild targetid: run-msbuild-targetuses: finphie/Actions/.github/actions/run-msbuild-target@mainwith:
dotnet-version: 11.0.100-preview.3.26207.106target: TargetName
- run: | echo '${{ steps.run-msbuild-target.outputs.lines }}'

引数

名前必須デフォルト説明
dotnet-versionfalse11.0.100-preview.3.26207.106インストールする.NET SDKバージョン。
targettrueMSBuildターゲット名。

環境変数

なし

出力

名前説明
linesMSBuildターゲット実行時に出力された文字列。

sync-repositories

ソース元のリポジトリと同期するアクションです。

on:
workflow_dispatch:
permissions: {}jobs:
main:
runs-on: ubuntu-lateststeps:
- name: Sync repositoriesuses: finphie/Actions/.github/actions/sync-repositories@mainwith:
source-path: source-repositorytarget-path: target-repositorysettings-file-path: target-repository/dotfiles.jsoncommit-message: Commit messagebranch: sync-github-repositorieslabels: syncenv:
GITHUB_TOKEN: ${{ secrets.TOKEN }}

引数

名前必須デフォルト説明
source-pathtrueソース元リポジトリのパス。
target-pathtrue同期先リポジトリのパス。
settings-file-pathtrueJSON設定ファイルのパス。このファイルの"hash"の値から前回同期位置を特定する。
commit-messagetrueコミットメッセージ。
branchfalsesync-github-repositoriesブランチ名。
labelsfalsechoreラベルのリスト。

環境変数

名前必須デフォルト説明
GITHUB_TOKENtrueContentsとPull requestsスコープの書き込み許可が付与されたトークン。GitHub Actions内で自動生成されるトークンは使用不可。

出力

なし

upload-release-assets

リリースにファイルをアップロードするアクションです。

on:
workflow_dispatch:
permissions:
contents: writejobs:
main:
runs-on: ubuntu-lateststeps:
- name: Checkout repositoryuses: actions/checkout@v4
- name: Upload release assetsuses: finphie/Actions/.github/actions/upload-release-assets@mainwith:
tag: v1.0.0files: | **/*.zip **/*.exeenv:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

引数

名前必須デフォルト説明
tagtrue対象のgitタグ。
filestrueアップロード対象のファイルリスト。

環境変数

名前必須デフォルト説明
GITHUB_TOKENtrueContentsスコープの書き込み許可が付与されたトークン。

出力

なし

再利用可能なワークフロー

build-dotnet.yml

.NETのビルドを実行する再利用可能なワークフローです。dotnet builddotnet testを実行します。

on:
pull_request:
permissions: {}jobs:
main:
uses: finphie/Actions/workflows/build-dotnet.yml@mainwith:
dotnet-version: 11.0.100-preview.3.26207.106configuration: Release

引数

名前必須デフォルト説明
dotnet-versionfalse11.0.100-preview.3.26207.106インストールする.NET SDKバージョン。
configurationfalseReleaseビルド構成。

環境変数

なし

出力

なし

build-markdown.yml

Markdownのビルドを実行する再利用可能なワークフローです。markdownlintを実行します。

on:
pull_request:
permissions: {}jobs:
main:
uses: finphie/Actions/.github/workflows/build-markdown.yml@main

引数

なし

環境変数

なし

出力

なし

build-powershell.yml

PowerShellのビルドを実行する再利用可能なワークフローです。PSScriptAnalyzerを実行します。

on:
pull_request:
permissions: {}jobs:
main:
uses: finphie/Actions/.github/workflows/build-powershell.yml@main

引数

なし

環境変数

なし

出力

なし

build-python.yml

Pythonのビルドを実行する再利用可能なワークフローです。flake8とpyrightを実行します。

on:
pull_request:
permissions: {}jobs:
main:
uses: finphie/Actions/.github/workflows/build-python.yml@main

引数

なし

環境変数

なし

出力

なし

build-yaml.yml

YAMLのビルドを実行する再利用可能なワークフローです。yamllintを実行します。

on:
pull_request:
permissions: {}jobs:
main:
uses: finphie/Actions/.github/workflows/build-yaml.yml@main

引数

なし

環境変数

なし

出力

なし

check-dotnet-platform.yml

.NETプロジェクトのターゲットプラットフォーム名を取得する再利用可能なワークフローです。

on:
workflow_dispatch:
permissions: {}jobs:
main:
uses: finphie/Actions/.github/workflows/check-dotnet-platform.yml@mainwith:
settings-file-path: default.jsonecho:
needs: mainrun: | echo '${{ needs.main.outputs.projects }}'

引数

名前必須デフォルト説明
settings-file-pathfalsedefault.json設定ファイルのパス。

環境変数

なし

出力

名前説明
projectsupload-artifacts-dotnet.ymlワークフローの引数となるJSON文字列を出力する。

deploy-docker.yml

Dockerのデプロイを実行する再利用可能なワークフローです。

on:
push:
branches:
- mainpermissions:
packages: writeid-token: writeattestations: writejobs:
main:
uses: finphie/Actions/.github/workflows/deploy-docker.yml@mainwith:
version: '1.2.3'version-major: 1

引数

名前必須デフォルト説明
versiontrueバージョンを表す文字列。
version-majortrueメジャーバージョンを表す数値。

環境変数

なし

出力

なし

deploy-dotnet.yml

.NETのデプロイを実行する再利用可能なワークフローです。

on:
push:
branches:
- mainpermissions: {}jobs:
main:
uses: finphie/Actions/.github/workflows/deploy-dotnet.yml@mainwith:
dotnet-version: 11.0.100-preview.3.26207.106version: '1.0.0'release: truesuffix: v1.0.0secrets:
AZURE_ARTIFACT_PAT: ${{ secrets.AZURE_ARTIFACT_PAT }}NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}

引数

名前必須デフォルト説明
dotnet-versionfalse11.0.100-preview.3.26207.106インストールする.NET SDKバージョン。
versiontrueバージョンを表す文字列。
releasetrue安定版リリースかどうか。
suffixtrueアップロードする成果物名の末尾に追加する文字列。

環境変数

なし

シークレット

名前必須デフォルト説明
AZURE_ARTIFACT_PATtrue「Packaging」スコープの読み書きを許可したAzure DevOps Personal Access Token。
NUGET_API_KEYtrue「Push」スコープを許可したNuGet APIキー。

出力

なし

get-version.yml

現在のバージョンを取得する再利用可能なワークフローです。

on:
push:
branches:
- mainpermissions: {}jobs:
main:
uses: finphie/Actions/.github/workflows/get-version.yml@mainecho:
needs: mainrun: | echo '${{ needs.main.outputs.version }}' echo '${{ needs.main.outputs.version-major }}' echo '${{ needs.main.outputs.release }}' echo '${{ needs.main.outputs.tag }}' echo '${{ needs.main.outputs.dotnet }}' echo '${{ needs.main.outputs.docker }}'

引数

なし

環境変数

なし

出力

名前説明
versionバージョンを表す文字列。
version-majorメジャー番号を表す数値。
release安定版リリースかどうか。
taggitタグ名。
dotnet.NETファイルが含まれているかどうか。
dockerDockerfileが含まれているかどうか。

normalize.yml

改行コードを正規化する再利用可能なワークフローです。

on:
pull_request:
permissions:
contents: writejobs:
main:
uses: finphie/Actions/.github/workflows/normalize.yml@main

引数

なし

環境変数

なし

出力

なし

release.yml

GitHubリリースを作成する再利用可能なワークフローです。GitHub Actions Artifactsにファイルが存在する場合、そのファイルをアップロードします。

on:
push:
branches:
- mainpermissions:
contents: writeid-token: writeattestations: writejobs:
main:
uses: finphie/Actions/.github/workflows/release.yml@mainwith:
version: '1.0.0'tag: v1.0.0

引数

名前必須デフォルト説明
versiontrueバージョンを表す文字列。
tagtruegitタグ名。

環境変数

なし

出力

なし

upload-artifacts-dotnet.yml

.NETの発行により出力されたファイルを、GitHub Actions Artifactsにアップロードする再利用可能なワークフローです。Source/${{ project }}/${{ project }}.csprojを前提とします。

on:
push:
branches:
- mainpermissions: {}jobs:
main:
uses: finphie/Actions/.github/workflows/upload-artifacts-dotnet.yml@mainwith:
dotnet-version: 11.0.100-preview.3.26207.106runs-on: ubuntu-latestproject: ProjectNametarget-platform-identifier: nonetarget-platform-version: ''os: winarchitecture: x64workload-restore: falseversion: '1.0.0'suffix: v1.0.0

引数

名前必須デフォルト説明
dotnet-versionfalse11.0.100-preview.3.26207.106インストールする.NET SDKバージョン。
runs-onfalseubuntu-latestランナー環境。
projecttrueプロジェクト名。
target-platform-identifierfalsenoneプラットフォーム識別子。
target-platform-versionfalse-プラットフォームバージョンを表す文字列。
ostrueOSの名前。(ランタイム識別子)
architecturetrueアーキテクチャ名。(ランタイム識別子)
workload-restorefalsefalsedotnet workload restoreを実行するかどうか。
versiontrueバージョンを表す文字列。
suffixtrueアップロードする成果物名の末尾に追加する文字列。

環境変数

なし

出力

なし

upload-nuget-library.yml

NuGetとAzure Artifactにアップロードする再利用可能なワークフローです。nuget.configNuGetAzureキーの設定が必要となります。

on:
push:
branches:
- mainpermissions: {}jobs:
main:
uses: finphie/Actions/.github/workflows/upload-nuget-library.yml@mainwith:
dotnet-version: 11.0.100-preview.3.26207.106version: '1.0.0'release: truesecrets:
AZURE_ARTIFACT_PAT: ${{ secrets.AZURE_ARTIFACT_PAT }}NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}

引数

名前必須デフォルト説明
dotnet-versionfalse11.0.100-preview.3.26207.106インストールする.NET SDKバージョン。
versiontrueバージョンを表す文字列。
releasetrue安定版リリースかどうか。

環境変数

なし

シークレット

名前必須デフォルト説明
AZURE_ARTIFACT_PATtrue「Packaging」スコープの読み書きを許可したAzure DevOps Personal Access Token。
NUGET_API_KEYtrue「Push」スコープを許可したNuGet APIキー。

出力

なし

ワークフロー

sync-dotfiles.yml

各リポジトリにfinphie/dotfilesのファイルを同期するワークフローです。

sync-github-settings.yml

各リポジトリのGitHubの設定を行うワークフローです。GitHubSettingsSyncを使用します。

sync-labels.yml

各リポジトリのラベルを同期するワークフローです。

sync-secrets.yml

各リポジトリのシークレットを同期するワークフローです。GitHubSecretsSyncを使用します。

作者

finphie

ライセンス

CC0 1.0

About

GitHub Actions関連ファイルの管理と、各種設定の同期を行うリポジトリです。

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages