Skip to content

Commit c71cabb

Browse files
committed
Update ci.yml
1 parent ac15087 commit c71cabb

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ permissions:
1818
packages: write
1919
pages: write
2020
pull-requests: write
21-
repository-projects: write
21+
projects: write
2222
security-events: write
2323
statuses: write
2424

@@ -84,7 +84,7 @@ jobs:
8484
fi
8585
8686
compute-version:
87-
if: ${{ github.repository == 'LiliaFramework/Lilia' }}
87+
if: github.repository == 'LiliaFramework/Lilia'
8888
needs: linter
8989
runs-on: ubuntu-latest
9090
outputs:
@@ -111,7 +111,7 @@ jobs:
111111
echo "valid_count=$VALID_COUNT" >> "$GITHUB_OUTPUT"
112112
113113
update-shared-version:
114-
if: ${{ github.repository == 'LiliaFramework/Lilia' && github.ref == 'refs/heads/main' }}
114+
if: github.repository == 'LiliaFramework/Lilia' && github.ref == 'refs/heads/main'
115115
needs: compute-version
116116
runs-on: ubuntu-latest
117117
env:
@@ -151,7 +151,7 @@ jobs:
151151
git push origin HEAD:main
152152
153153
release:
154-
if: ${{ github.repository == 'LiliaFramework/Lilia' && github.ref == 'refs/heads/main' }}
154+
if: github.repository == 'LiliaFramework/Lilia' && github.ref == 'refs/heads/main'
155155
needs:
156156
- compute-version
157157
- update-shared-version
@@ -200,7 +200,7 @@ jobs:
200200
uses: actions/create-release@v1
201201
with:
202202
tag_name: release
203-
release_name: Lilia ${{ env.VERSION }}
203+
release_name: "Lilia ${{ env.VERSION }}"
204204
draft: false
205205
prerelease: false
206206
env:
@@ -248,7 +248,7 @@ jobs:
248248
EOF
249249
- run: |
250250
~/Steam/steamcmd.sh +login "$STEAM_USERNAME" "$STEAM_PASSWORD" +workshop_build_item "$(pwd -P)/workshop.vdf" +quit
251-
- if: ${{ failure() }}
251+
- if: failure()
252252
run: |
253253
echo ~/Steam/logs/stderr.txt
254254
cat ~/Steam/logs/stderr.txt || true
@@ -263,7 +263,7 @@ jobs:
263263
exit 1
264264
265265
deploy-pages:
266-
if: ${{ github.repository == 'LiliaFramework/Lilia' && github.ref == 'refs/heads/main' }}
266+
if: github.repository == 'LiliaFramework/Lilia' && github.ref == 'refs/heads/main'
267267
needs:
268268
- compute-version
269269
- release
@@ -293,4 +293,4 @@ jobs:
293293
if ! git diff --cached --quiet; then
294294
git commit -m "Successfully updated workshop Lilia to ${VERSION}"
295295
git push origin HEAD:main
296-
fi
296+
fi

0 commit comments

Comments
 (0)