diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index bac244a..1275188 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -45,7 +45,7 @@ jobs: id: diff # If index.js was different than expected, upload the expected version as an artifact - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 if: ${{ failure() && steps.diff.conclusion == 'failure' }} with: name: dist diff --git a/README.md b/README.md index 87d8662..0caf702 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,6 @@ # setup-dotnet -

- GitHub Actions status -

+[![GitHub Actions Status](https://github.com/actions/setup-dotnet/workflows/Main%20workflow/badge.svg)](https://github.com/actions/setup-dotnet) This action sets up a [.NET CLI](https://github.com/dotnet/sdk) environment for use in actions by: diff --git a/docs/contributors.md b/docs/contributors.md index 69daca4..5ec31cb 100644 --- a/docs/contributors.md +++ b/docs/contributors.md @@ -26,9 +26,15 @@ With any contribution please take time to consider how this can be tested to mai ## Creating new version Details on versioning can be found here: https://github.com/actions/toolkit/blob/main/docs/action-versioning.md -Create a new release using the UI. Version format should be `v2.x.x`. Creating a new major version requires reaction from users and should be done only with breaking changes. -Once the new release is created, the v2 tag needs to be updated as well. +Create a new release using the UI. Version format should be `vX.Y.Z`. Creating a new major version requires reaction from users and should be done only with breaking changes. +Once the new release is created, the vX tag needs to be updated as well. +``` +git tag -fa vX -m "Update vX tag" +git push origin vX --force +``` + +For example, if you're publishing v2: ``` git tag -fa v2 -m "Update v2 tag" git push origin v2 --force -``` +``` \ No newline at end of file diff --git a/package.json b/package.json index 91d6e5e..3b89fe0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "setup-dotnet", - "version": "2.0.0", + "version": "1.0.0", "private": true, "description": "setup dotnet action", "main": "lib/setup-dotnet.js",