Skip to content

Commit e9022a2

Browse files
committed
Remove older actions to avoid deprecation warnings.
1 parent 039a6de commit e9022a2

File tree

1 file changed

+1
-20
lines changed

1 file changed

+1
-20
lines changed

.github/workflows/rust.yml

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout
11-
uses: actions/checkout@v1
11+
uses: actions/checkout@v3
1212
with:
1313
submodules: true
1414
- name: Check Syntax
@@ -23,23 +23,6 @@ jobs:
2323
cargo install cargo-binutils
2424
- name: Build
2525
run: ./build.sh
26-
- name: Get Branch Name
27-
if: github.event_name == 'push' && startswith(github.ref, 'refs/tags/')
28-
id: branch_name
29-
run: |
30-
echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/}
31-
- name: Create Release
32-
if: github.event_name == 'push' && startswith(github.ref, 'refs/tags/')
33-
id: create_release
34-
uses: actions/create-release@v1
35-
env:
36-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37-
with:
38-
tag_name: ${{ github.ref }}
39-
release_name: Release ${{ steps.branch_name.outputs.SOURCE_TAG }}
40-
draft: false
41-
prerelease: false
42-
4326
- name: Upload files to Release
4427
if: github.event_name == 'push' && startswith(github.ref, 'refs/tags/')
4528
uses: softprops/action-gh-release@v1
@@ -64,5 +47,3 @@ jobs:
6447
./release/thumbv7m-none-eabi-flash1002-libneotron_os.bin
6548
./release/thumbv7m-none-eabi-flash1002-libneotron_os.elf
6649
./release/x86_64-unknown-linux-gnu-libneotron_os.so
67-
env:
68-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)