Skip to content

Commit

Permalink
Switch to newer checkout action on codeql, build package on 22.04
Browse files Browse the repository at this point in the history
  • Loading branch information
kepstin committed Dec 11, 2024
1 parent 31f06aa commit 4a93d2f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install system dependencies
run: |
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
ubuntu:
strategy:
matrix:
UBUNTU_VERSION: [ "20.04" ]
UBUNTU_VERSION: [ "22.04" ]
include:
- UBUNTU_VERSION: "20.04"
UBUNTU_CODENAME: focal
- UBUNTU_VERSION: "22.04"
UBUNTU_CODENAME: jammy
runs-on: ubuntu-latest
container: ubuntu:${{ matrix.UBUNTU_VERSION }}
defaults:
Expand Down Expand Up @@ -88,19 +88,19 @@ jobs:

- uses: actions/download-artifact@v4
with:
name: ubuntu-20.04
path: ubuntu-20.04
name: ubuntu-22.04
path: ubuntu-22.04

- name: Create release asset archives
run: |
for asset in ubuntu-20.04 ; do
for asset in ubuntu-22.04 ; do
zip --junk-paths --recurse-paths --compression-method store "${asset}.zip" "${asset}"
done
- name: Upload release assets
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
for asset in ubuntu-20.04 ; do
for asset in ubuntu-22.04 ; do
gh release upload ${{ github.ref_name }} "${asset}.zip"
done

0 comments on commit 4a93d2f

Please sign in to comment.