diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index 18def0af..56491a45 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -23,6 +23,7 @@ jobs: - name: Build application for linux run: | # ninja-build + sudo apt update sudo apt install -y pkg-config libgtk-3-dev liblzma-dev libstdc++-12-dev --no-install-recommends flutter build linux --release cd flatpak/scripts diff --git a/.github/workflows/bump-version.yml b/.github/workflows/bump-version.yml index 77046805..a6ac71e2 100644 --- a/.github/workflows/bump-version.yml +++ b/.github/workflows/bump-version.yml @@ -16,6 +16,7 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 # needed to push changes + token: ${{ secrets.GITHUB_TOKEN }} - name: Common flutter setup uses: ./.github/actions/flutter-common @@ -38,11 +39,11 @@ jobs: NEXT_BUILD=$(( (CURRENT_BUILD / 10 + 1) * 10 )) flutter pub run cider version ${{ inputs.app_version }}+${NEXT_BUILD} - - name: Commit pubspec + - name: Tag release and commit pubspec run: | git config user.name Github-Actions git config user.email github-actions@github.com git add pubspec.yaml git tag ${{ inputs.app_version }} git commit -m "Bump version to $( flutter pub run cider version )" - git push origin HEAD:master + git push origin HEAD:master --tags