diff --git a/.github/workflows/cron_test.yaml b/.github/workflows/cron_test.yaml index 4ea935daa..278be107a 100644 --- a/.github/workflows/cron_test.yaml +++ b/.github/workflows/cron_test.yaml @@ -1,10 +1,10 @@ -name: Dart CI Cron +# name: Dart CI Cron -on: - schedule: - - cron: "0 18 * * *" +# on: +# schedule: +# - cron: "0 18 * * *" -jobs: - testlab: - uses: ./.github/workflows/testlab.yaml - secrets: inherit +# jobs: +# testlab: +# uses: ./.github/workflows/testlab.yaml +# secrets: inherit diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2d6a82cdb..5e9e0060f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -53,6 +53,8 @@ jobs: artifact_name: isar_windows_x64.dll script: build_windows.sh x64 runs-on: ${{ matrix.os }} + permissions: + contents: write steps: - uses: actions/checkout@v3 - name: Prepare Build @@ -69,10 +71,10 @@ jobs: asset_name: ${{ matrix.artifact_name }} tag: ${{ github.ref }} - testlab: - needs: build_binaries - uses: ./.github/workflows/testlab.yaml - secrets: inherit + # testlab: + # needs: build_binaries + # uses: ./.github/workflows/testlab.yaml + # secrets: inherit build_inspector: name: Build Inspector @@ -93,28 +95,28 @@ jobs: target-folder: ${{ github.ref_name }} clean: false - publish: - name: Publish - needs: build_inspector - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: subosito/flutter-action@v2 - - name: pub get - run: dart pub get - working-directory: packages/isar - - name: Download Binaries - run: sh tool/download_binaries.sh - - name: pub.dev credentials - run: | - mkdir -p $HOME/.config/dart - echo '${{ secrets.PUB_JSON }}' >> $HOME/.config/dart/pub-credentials.json - - name: Publish isar - run: dart pub publish --force - working-directory: packages/isar - - name: Publish isar_generator - run: dart pub publish --force - working-directory: packages/isar_generator - - name: Publish isar_flutter_libs - run: dart pub publish --force - working-directory: packages/isar_flutter_libs + # publish: + # name: Publish + # needs: build_inspector + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v3 + # - uses: subosito/flutter-action@v2 + # - name: pub get + # run: dart pub get + # working-directory: packages/isar + # - name: Download Binaries + # run: sh tool/download_binaries.sh + # - name: pub.dev credentials + # run: | + # mkdir -p $HOME/.config/dart + # echo '${{ secrets.PUB_JSON }}' >> $HOME/.config/dart/pub-credentials.json + # - name: Publish isar + # run: dart pub publish --force + # working-directory: packages/isar + # - name: Publish isar_generator + # run: dart pub publish --force + # working-directory: packages/isar_generator + # - name: Publish isar_flutter_libs + # run: dart pub publish --force + # working-directory: packages/isar_flutter_libs