diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 4180130..e9cbbe5 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -8,11 +8,11 @@ on: jobs: build-schemes: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Checkout source - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build unpacked run: ./build.sh base.distr-unpacked @@ -26,9 +26,9 @@ jobs: - name: Install colorer run: | sudo apt-get -y install libicu-dev libxerces-c-dev libspdlog-dev libfmt-dev zlib1g-dev libminizip-dev - wget https://github.com/colorer/Colorer-library/releases/download/v1.2.1/colorer.x64.v1.2.1.tar.gz + wget https://github.com/colorer/Colorer-library/releases/download/v1.3.1/colorer.x64.v1.3.1.tar.gz mkdir bin - tar -xf colorer.x64.v1.2.1.tar.gz -C ./bin + tar -xf colorer.x64.v1.3.1.tar.gz -C ./bin - name: Test schemes working-directory: hrc/test diff --git a/.github/workflows/checks_pull.yml b/.github/workflows/checks_pull.yml index 6e5a08c..a4930fe 100644 --- a/.github/workflows/checks_pull.yml +++ b/.github/workflows/checks_pull.yml @@ -7,11 +7,11 @@ on: jobs: build-schemes: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Checkout source - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build unpacked run: ./build.sh base.distr-unpacked @@ -25,9 +25,9 @@ jobs: - name: Install colorer run: | sudo apt-get -y install libicu-dev libxerces-c-dev libspdlog-dev libfmt-dev zlib1g-dev libminizip-dev - wget https://github.com/colorer/Colorer-library/releases/download/v1.2.1/colorer.x64.v1.2.1.tar.gz + wget https://github.com/colorer/Colorer-library/releases/download/v1.3.1/colorer.x64.v1.3.1.tar.gz mkdir bin - tar -xf colorer.x64.v1.2.1.tar.gz -C ./bin + tar -xf colorer.x64.v1.3.1.tar.gz -C ./bin - name: Test schemes working-directory: hrc/test diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d0a0f2b..dd10d24 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,12 +7,12 @@ on: jobs: build-schemes: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.head_branch == 'master' }} steps: - name: Checkout source - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Get version shell: bash diff --git a/.github/workflows/taged-release.yml b/.github/workflows/taged-release.yml index 55ac58f..443cd46 100644 --- a/.github/workflows/taged-release.yml +++ b/.github/workflows/taged-release.yml @@ -7,29 +7,25 @@ on: jobs: build-schemes: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Checkout source - uses: actions/checkout@v3 - - - name: Get version - id: get_version - uses: battila7/get-version-action@v2 + uses: actions/checkout@v4 - name: Build packed schemes working-directory: ${{runner.workspace}}/Colorer-schemes - run: ./build.sh base.distr-packed -Dpostfix=${{ steps.get_version.outputs.version }} + run: ./build.sh base.distr-packed -Dpostfix=${{ github.ref_name }} - name: Build unpacked schemes working-directory: ${{runner.workspace}}/Colorer-schemes - run: ./build.sh base.distr-unpacked -Dpostfix=${{ steps.get_version.outputs.version }} + run: ./build.sh base.distr-unpacked -Dpostfix=${{ github.ref_name }} - name: Build allpacked schemes working-directory: ${{runner.workspace}}/Colorer-schemes - run: ./build.sh base.distr-allpacked -Dpostfix=${{ steps.get_version.outputs.version }} + run: ./build.sh base.distr-allpacked -Dpostfix=${{ github.ref_name }} - name: Create release - run: gh release create ${{ steps.get_version.outputs.version }} ./build/*.zip -t "Colorer base ${{ steps.get_version.outputs.version }}" -n "new version" + run: gh release create ${{ github.ref_name }} ./build/*.zip -t "Colorer base ${{ github.ref_name }}" -n "new version" env: GITHUB_TOKEN: ${{secrets.PACKAGES_GITHUB_TOKEN}}