3434 apt-get install zlib1g-dev:arm64 -y
3535
3636 - uses : actions/checkout@v4
37+
38+ - name : Install dotnet tool
39+ run : dotnet tool install -g dotnetCampus.TagToVersion
40+
41+ - name : Set tag to version
42+ run : dotnet TagToVersion -t ${{ github.ref }}
3743
3844 - name : Setup .NET
3945 uses : actions/setup-dotnet@v1
4349 5.0.x
4450 6.0.x
4551 9.0.x
46-
47- - name : Install dotnet tool
48- run : dotnet tool install -g dotnetCampus.TagToVersion
49-
50- - name : Set tag to version
51- run : dotnet TagToVersion -t ${{ github.ref }}
5252
5353 - name : Build with dotnet
5454 run : dotnet build --configuration Release src/MediaConverters/MediaConverters.sln
9595 apt-get install zlib1g-dev:arm64 -y
9696
9797 - uses : actions/checkout@v4
98+
99+ - name : Install dotnet tool
100+ run : dotnet tool install -g dotnetCampus.TagToVersion
101+
102+ - name : Set tag to version
103+ run : dotnet TagToVersion -t ${{ github.ref }}
98104
99105 - name : Setup .NET
100106 uses : actions/setup-dotnet@v1
@@ -105,12 +111,6 @@ jobs:
105111 6.0.x
106112 9.0.x
107113
108- - name : Install dotnet tool
109- run : dotnet tool install -g dotnetCampus.TagToVersion
110-
111- - name : Set tag to version
112- run : dotnet TagToVersion -t ${{ github.ref }}
113-
114114 - name : Build with dotnet
115115 run : dotnet build --configuration Release src/MediaConverters/MediaConverters.sln
116116
0 commit comments