Update github actions
checkout is bumped from v3 to v4, there shouldn't be any breaking changes (just bumps the node version) upload-artifact is bumped from v2 to v4, our use case shouldn't break github-script is bumped from v3 to v7. I don't see any breaking changes that should affect us. Again mainly a nodejs version bump
This commit is contained in:
parent
6f8db4a3fe
commit
35638027a8
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -14,7 +14,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
COLOR: "ON"
|
COLOR: "ON"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.inputs.ref }}
|
ref: ${{ github.event.inputs.ref }}
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
@ -48,7 +48,7 @@ jobs:
|
|||||||
python3-xcbgen \
|
python3-xcbgen \
|
||||||
libuv1-dev \
|
libuv1-dev \
|
||||||
xcb-proto
|
xcb-proto
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
ref: ${{ github.event.inputs.ref }}
|
ref: ${{ github.event.inputs.ref }}
|
||||||
@ -115,7 +115,7 @@ jobs:
|
|||||||
if [ "$POLYBAR_BUILD_TYPE" = "tests" ]; then
|
if [ "$POLYBAR_BUILD_TYPE" = "tests" ]; then
|
||||||
sudo apt-get install -y lcov
|
sudo apt-get install -y lcov
|
||||||
fi
|
fi
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
ref: ${{ github.event.inputs.ref }}
|
ref: ${{ github.event.inputs.ref }}
|
||||||
@ -157,7 +157,7 @@ jobs:
|
|||||||
verbose: true
|
verbose: true
|
||||||
- name: Upload Logs
|
- name: Upload Logs
|
||||||
if: failure()
|
if: failure()
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: cmake
|
name: cmake
|
||||||
path: |
|
path: |
|
||||||
|
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@ -38,7 +38,7 @@ jobs:
|
|||||||
} >> "$GITHUB_ENV"
|
} >> "$GITHUB_ENV"
|
||||||
|
|
||||||
# Checks out the target tag
|
# Checks out the target tag
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ env.RELEASE_TAG }}
|
ref: ${{ env.RELEASE_TAG }}
|
||||||
submodules: true
|
submodules: true
|
||||||
@ -55,7 +55,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Get Upload URL
|
- name: Get Upload URL
|
||||||
id: get_upload_url
|
id: get_upload_url
|
||||||
uses: actions/github-script@v3
|
uses: actions/github-script@v7
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
script: |
|
script: |
|
||||||
@ -83,7 +83,7 @@ jobs:
|
|||||||
|
|
||||||
# Adds a download section to the beginning of the release body
|
# Adds a download section to the beginning of the release body
|
||||||
- name: Update Release Body
|
- name: Update Release Body
|
||||||
uses: actions/github-script@v3
|
uses: actions/github-script@v7
|
||||||
env:
|
env:
|
||||||
# Existing release body, fetched in the get_upload_url step.
|
# Existing release body, fetched in the get_upload_url step.
|
||||||
RELEASE_BODY: ${{ env.RELEASE_BODY }}
|
RELEASE_BODY: ${{ env.RELEASE_BODY }}
|
||||||
|
Loading…
Reference in New Issue
Block a user