Skip to content

Commit e04fd3a

Browse files
Merge pull request #358 from LittleLightForDestiny/workflow_fixes
fixes workflows'
2 parents d9e3dfe + 125b084 commit e04fd3a

4 files changed

Lines changed: 22 additions & 16 deletions

File tree

.github/workflows/publish-ios.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,17 +64,17 @@ jobs:
6464
then
6565
if [ "${{ github.event.release.prerelease }}" == true ]
6666
then
67-
echo "::set-output name=track::beta"
67+
echo "track=beta" >> $GITHUB_OUTPUT
6868
else
69-
echo "::set-output name=track::production"
69+
echo "track=production" >> $GITHUB_OUTPUT
7070
fi
71-
echo "::set-output name=head_ref::main"
71+
echo "head_ref=main" >> $GITHUB_OUTPUT
7272
fi
7373
7474
if [ "${{ github.event_name }}" == "workflow_dispatch" ]
7575
then
76-
echo "::set-output name=track::${{ github.event.inputs.track }}"
77-
echo "::set-output name=head_ref::${{ github.head_ref }}"
76+
echo "track=${{ github.event.inputs.track }}" >> $GITHUB_OUTPUT
77+
echo "head_ref=${{ github.head_ref }}" >> $GITHUB_OUTPUT
7878
fi
7979
8080
- name: Checkout

.github/workflows/publish-macos.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,17 +64,17 @@ jobs:
6464
then
6565
if [ "${{ github.event.release.prerelease }}" == true ]
6666
then
67-
echo "::set-output name=track::beta"
67+
echo "track=beta" >> $GITHUB_OUTPUT
6868
else
69-
echo "::set-output name=track::production"
69+
echo "track=production" >> $GITHUB_OUTPUT
7070
fi
71-
echo "::set-output name=head_ref::main"
71+
echo "head_ref=main" >> $GITHUB_OUTPUT
7272
fi
7373
7474
if [ "${{ github.event_name }}" == "workflow_dispatch" ]
7575
then
76-
echo "::set-output name=track::${{ github.event.inputs.track }}"
77-
echo "::set-output name=head_ref::${{ github.head_ref }}"
76+
echo "track=${{ github.event.inputs.track }}" >> $GITHUB_OUTPUT
77+
echo "head_ref=${{ github.head_ref }}" >> $GITHUB_OUTPUT
7878
fi
7979
8080
- name: Checkout

.github/workflows/release-app.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,17 @@ jobs:
4747
CHANGELOG="${CHANGELOG//'%'/'%25'}"
4848
CHANGELOG="${CHANGELOG//$'\n'/'%0A'}"
4949
CHANGELOG="${CHANGELOG//$'\r'/'%0D'}"
50-
echo "::set-output name=version::${{ github.event.release.tag_name }}"
51-
echo "::set-output name=changelog::${CHANGELOG}"
50+
echo "version=${{ github.event.release.tag_name }}" >> $GITHUB_OUTPUT
51+
echo "changelog=${CHANGELOG}" >> $GITHUB_OUTPUT
5252
fi
5353
if [ "${{ github.event_name }}" == "workflow_dispatch" ]
5454
then
5555
CHANGELOG="${{ github.event.inputs.changelog }}"
5656
CHANGELOG="${CHANGELOG//'%'/'%25'}"
5757
CHANGELOG="${CHANGELOG//$'\n'/'%0A'}"
5858
CHANGELOG="${CHANGELOG//$'\r'/'%0D'}"
59-
echo "::set-output name=version::${{ github.event.inputs.version }}"
60-
echo "::set-output name=changelog::${CHANGELOG}"
59+
echo "version=${{ github.event.inputs.version }}" >> $GITHUB_OUTPUT
60+
echo "changelog=${CHANGELOG}" >> $GITHUB_OUTPUT
6161
fi
6262
6363
- uses: actions/setup-node@v4
@@ -82,7 +82,13 @@ jobs:
8282
8383
- name: Check for modified files
8484
id: git-check
85-
run: echo ::set-output name=modified::$(if git diff-index --quiet HEAD --; then echo "false"; else echo "true"; fi)
85+
run: |
86+
if git diff-index --quiet HEAD --;
87+
then
88+
echo "modified=false" >> $GITHUB_OUTPUT;
89+
else
90+
echo "modified=true" >> $GITHUB_OUTPUT;
91+
fi
8692
8793
- name: Push changes
8894
uses: stefanzweifel/git-auto-commit-action@v4

pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1317,4 +1317,4 @@ packages:
13171317
version: "3.1.3"
13181318
sdks:
13191319
dart: ">=3.7.2 <=3.9.0"
1320-
flutter: ">=3.32.7"
1320+
flutter: ">=3.29.3"

0 commit comments

Comments
 (0)