Skip to content

Commit aa159cd

Browse files
committed
chore: update action
1 parent 2889b88 commit aa159cd

File tree

4 files changed

+27
-12
lines changed

4 files changed

+27
-12
lines changed

.github/workflows/on-dev.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Checkout
1616
uses: actions/checkout@v4
1717
- name: Setup
18-
uses: actions/setup-dotnet@v4
18+
uses: actions/setup-dotnet@v5
1919
with:
2020
dotnet-version: 8.0.x
2121
- name: Restore dependencies
@@ -45,26 +45,26 @@ jobs:
4545
contents: read
4646
steps:
4747
- name: Check out the repo
48-
uses: actions/checkout@v4
48+
uses: actions/checkout@v5
4949

5050
- name: Set environment
5151
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
5252

5353
- name: Log in to Docker Hub
54-
uses: docker/login-action@v3.3.0
54+
uses: docker/login-action@v3.5.0
5555
with:
5656
username: ${{ secrets.DOCKER_USERNAME }}
5757
password: ${{ secrets.DOCKER_PASSWORD }}
5858

5959
- name: Extract metadata (tags, labels) for Docker
6060
id: meta
61-
uses: docker/metadata-action@v5.6.0
61+
uses: docker/metadata-action@v5.8.0
6262
with:
6363
images: saltwood233/csharp-openbmclapi
6464

6565
- name: Build and push Docker image
6666
id: push
67-
uses: docker/build-push-action@v6.8.0
67+
uses: docker/build-push-action@v6.18.0
6868
with:
6969
context: .
7070
file: ./Dockerfile

.github/workflows/on-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,26 @@ jobs:
1414
contents: read
1515
steps:
1616
- name: Check out the repo
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v5
1818

1919
- name: Set environment
2020
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
2121

2222
- name: Log in to Docker Hub
23-
uses: docker/login-action@v3.3.0
23+
uses: docker/login-action@v3.5.0
2424
with:
2525
username: ${{ secrets.DOCKER_USERNAME }}
2626
password: ${{ secrets.DOCKER_PASSWORD }}
2727

2828
- name: Extract metadata (tags, labels) for Docker
2929
id: meta
30-
uses: docker/metadata-action@v5.6.0
30+
uses: docker/metadata-action@v5.8.0
3131
with:
3232
images: saltwood233/csharp-openbmclapi
3333

3434
- name: Build and push Docker image
3535
id: push
36-
uses: docker/build-push-action@v6.8.0
36+
uses: docker/build-push-action@v6.18.0
3737
with:
3838
context: .
3939
file: ./Dockerfile

.github/workflows/on-tag.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,20 @@ jobs:
2121
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
2222

2323
- name: Log in to Docker Hub
24-
uses: docker/login-action@v3.3.0
24+
uses: docker/login-action@v3.5.0
2525
with:
2626
username: ${{ secrets.DOCKER_USERNAME }}
2727
password: ${{ secrets.DOCKER_PASSWORD }}
2828

2929
- name: Extract metadata (tags, labels) for Docker
3030
id: meta
31-
uses: docker/metadata-action@v5.6.0
31+
uses: docker/metadata-action@v5.8.0
3232
with:
3333
images: saltwood233/csharp-openbmclapi
3434

3535
- name: Build and push Docker image
3636
id: push
37-
uses: docker/build-push-action@v6.8.0
37+
uses: docker/build-push-action@v6.18.0
3838
with:
3939
context: .
4040
file: ./Dockerfile

CSharp-OpenBMCLAPI/CSharp-OpenBMCLAPI.csproj

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,19 @@
2929
</None>
3030
</ItemGroup>
3131

32+
<ItemGroup>
33+
<Content Include="..\.github\CSharp-OpenBMCLAPI.png">
34+
<Link>Properties\.github\CSharp-OpenBMCLAPI.png</Link>
35+
</Content>
36+
<Content Include="..\.github\workflows\on-dev.yml">
37+
<Link>Properties\.github\workflows\on-dev.yml</Link>
38+
</Content>
39+
<Content Include="..\.github\workflows\on-release.yml">
40+
<Link>Properties\.github\workflows\on-release.yml</Link>
41+
</Content>
42+
<Content Include="..\.github\workflows\on-tag.yml">
43+
<Link>Properties\.github\workflows\on-tag.yml</Link>
44+
</Content>
45+
</ItemGroup>
46+
3247
</Project>

0 commit comments

Comments
 (0)