Skip to content

Commit d74da75

Browse files
committed
Update workflow to Ubuntu 24.04
1 parent 2344426 commit d74da75

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build-avr-gcc.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
build-avr-gcc:
9-
runs-on: ubuntu-22.04
9+
runs-on: ubuntu-24.04
1010

1111
steps:
1212
- name: Install dependencies
@@ -16,7 +16,7 @@ jobs:
1616
sudo apt-get install -y git wget autoconf build-essential netpbm libmpc-dev libmpfr-dev libgmp-dev libmpfr6 texinfo doxygen flex bison libexpat1-dev slang-xfig
1717
1818
- name: Checkout
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020

2121
- name: Build
2222
run: |
@@ -39,14 +39,14 @@ jobs:
3939
tar cjf modm-avr-gcc.tar.bz2 -C /opt avr-gcc
4040
4141
- name: Upload artifact
42-
uses: actions/upload-artifact@v3
42+
uses: actions/upload-artifact@v4
4343
with:
4444
name: modm-avr-gcc
4545
path: modm-avr-gcc.tar.bz2
4646

4747
- name: Create release
48-
if: startsWith(github.ref, 'refs/tags/')
49-
uses: softprops/action-gh-release@v1
48+
if: github.ref_type == 'tag'
49+
uses: softprops/action-gh-release@v2
5050
with:
5151
name: AVR GCC ${{ github.ref }}
5252
draft: false

0 commit comments

Comments
 (0)