diff --git a/.github/workflows/autobuild.yml b/.github/workflows/autobuild.yml index f04a5e48ae..084654abb1 100644 --- a/.github/workflows/autobuild.yml +++ b/.github/workflows/autobuild.yml @@ -29,7 +29,7 @@ jobs: - name: Set workspace as safe run: git config --global --add safe.directory "$GITHUB_WORKSPACE" - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Generate build matrix @@ -48,7 +48,7 @@ jobs: options: --cap-add=SYS_ADMIN --privileged steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up git repository @@ -68,9 +68,10 @@ jobs: x=${NAME//\//@} echo "name=$x" >> $GITHUB_OUTPUT - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: ${{ steps.art.outputs.name }} + compression-level: 0 # The RPMs are already compressed :p path: | anda-build/rpm/rpms/* anda-build/rpm/srpm/* diff --git a/.github/workflows/bootstrap.yml b/.github/workflows/bootstrap.yml index de23db1295..ab68a6cc77 100644 --- a/.github/workflows/bootstrap.yml +++ b/.github/workflows/bootstrap.yml @@ -21,7 +21,7 @@ jobs: - name: Install Anda run: cargo install anda - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: f${{ matrix.version }} fetch-depth: 1 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f6d1312f1a..d6d79000df 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,7 +30,7 @@ jobs: options: --cap-add=SYS_ADMIN --privileged steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up git repository @@ -38,7 +38,7 @@ jobs: - name: Cache buildroot id: br-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /var/cache key: ${{ runner.os }}-br-${{ matrix.version }}-${{ matrix.arch }}-${{ matrix.pkg }} @@ -53,9 +53,10 @@ jobs: x=${NAME//\//@} echo "name=$x" >> $GITHUB_OUTPUT - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: ${{ steps.art.outputs.name }} + compression-level: 0 # The RPMs are already compressed :p path: | anda-build/rpm/rpms/* anda-build/rpm/srpm/* diff --git a/.github/workflows/json-build.yml b/.github/workflows/json-build.yml index 7607118339..a9ef395779 100644 --- a/.github/workflows/json-build.yml +++ b/.github/workflows/json-build.yml @@ -19,7 +19,7 @@ jobs: options: --cap-add=SYS_ADMIN --privileged steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up git repository @@ -27,7 +27,7 @@ jobs: - name: Cache buildroot id: br-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /var/cache key: ${{ runner.os }}-br-${{ matrix.version }}-${{ matrix.pkg.arch }}-${{ matrix.pkg.pkg }} @@ -42,9 +42,10 @@ jobs: x=${NAME//\//@} echo "name=$x" >> $GITHUB_OUTPUT - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: ${{ steps.art.outputs.name }} + compression-level: 0 # The RPMs are already compressed :p path: | anda-build/rpm/rpms/* anda-build/rpm/srpm/* diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 97e7eed743..b28bc3a602 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -17,6 +17,6 @@ jobs: image: ghcr.io/terrapkg/builder:f40 steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Lint spec files run: rpmlint $(find anda -type f -name "*.spec" -type f) diff --git a/.github/workflows/sync.yml.bak b/.github/workflows/sync.yml.bak deleted file mode 100644 index 48f66660ec..0000000000 --- a/.github/workflows/sync.yml.bak +++ /dev/null @@ -1,38 +0,0 @@ -name: Sync PR to other branches -on: - pull_request: - types: - - closed - branches: - - f38 - -jobs: - sync: - strategy: - matrix: - branch: ["f37"] - fail-fast: false - if: github.event.pull_request.merged == true && !contains(github.event.pull_request.labels.*.name, 'nosync') - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - fetch-depth: 0 - ssh-key: ${{ secrets.SSH_AUTHENTICATION_KEY }} - ref: ${{ matrix.branch }} - - name: Install SSH key and Setup Git - run: | - mkdir -p ${{ runner.temp }} - echo "${{ secrets.SSH_SIGNING_KEY }}" > ${{ runner.temp }}/signing_key - chmod 0700 ${{ runner.temp }}/signing_key - git config --global --add safe.directory "$GITHUB_WORKSPACE" - git config user.name "Raboneko" - git config user.email "raboneko@fyralabs.com" - git config gpg.format "ssh" - git config user.signingkey "${{ runner.temp }}/signing_key" - - name: Apply patches and Push - run: | - curl https://github.com/terrapkg/packages/pull/${{ github.event.pull_request.number }}.patch > pr.patch - git am -S --keep-cr --signoff < pr.patch - git push -u origin --all diff --git a/.github/workflows/update-comps.yml b/.github/workflows/update-comps.yml index dc61aae9aa..38612930be 100644 --- a/.github/workflows/update-comps.yml +++ b/.github/workflows/update-comps.yml @@ -17,7 +17,7 @@ jobs: container: image: ghcr.io/terrapkg/builder:f40 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Push to subatomic run: | branch=${{ github.ref_name }} diff --git a/.github/workflows/update-nightly.yml b/.github/workflows/update-nightly.yml index ebcfc34d6d..615f0f35d9 100644 --- a/.github/workflows/update-nightly.yml +++ b/.github/workflows/update-nightly.yml @@ -12,7 +12,7 @@ jobs: options: --cap-add=SYS_ADMIN --privileged steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 ssh-key: ${{ secrets.SSH_AUTHENTICATION_KEY }} diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index b77c8700ae..0381bd64d5 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -12,7 +12,7 @@ jobs: options: --cap-add=SYS_ADMIN --privileged steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 ssh-key: ${{ secrets.SSH_AUTHENTICATION_KEY }}