Skip to content

Commit b9fd0ec

Browse files
committed
macos latest
1 parent 9ffcadf commit b9fd0ec

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: release
22
on:
3-
release:
4-
types: [created]
3+
release:
4+
types: [created]
55

66
env:
77
CARGO_INCREMENTAL: 0
@@ -34,11 +34,11 @@ jobs:
3434
name: adrs-aarch64-unknown-linux-musl.tar.gz
3535

3636
- target: x86_64-apple-darwin
37-
os: macOS-11
37+
os: macOS-latest
3838
name: adrs-x86_64-apple-darwin.tar.gz
3939

4040
- target: aarch64-apple-darwin
41-
os: macOS-11
41+
os: macOS-latest
4242
name: adrs-aarch64-apple-darwin.tar.gz
4343

4444
- target: x86_64-unknown-freebsd
@@ -64,13 +64,13 @@ jobs:
6464
- name: build
6565
if: matrix.os != 'ubuntu-latest'
6666
run: cargo build --release --locked --target ${{ matrix.target }}
67-
67+
6868
- name: build (cross)
6969
if: matrix.os == 'ubuntu-latest'
7070
run: cross build --release --locked --target ${{ matrix.target }}
7171

7272
- name: ls
73-
run: ls -l target/${{ matrix.target }}/release
73+
run: ls -l target/${{ matrix.target }}/release
7474

7575
- name: prepare artifacts
7676
run: |
@@ -86,7 +86,7 @@ jobs:
8686

8787
upload_artifacts:
8888
name: add artifacts to release
89-
needs: [ build ]
89+
needs: [build]
9090
runs-on: ubuntu-latest
9191
steps:
9292
- name: checkout
@@ -98,8 +98,8 @@ jobs:
9898
- name: checksums
9999
run: for file in adrs-*/adrs-*; do openssl dgst -sha256 -r "$file" | awk '{print $1}' > "${file}.sha256"; done
100100

101-
# - name: publish
102-
# run: gh release edit ${{ github.ref_name }}
101+
# - name: publish
102+
# run: gh release edit ${{ github.ref_name }}
103103
# env:
104104
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
105105

0 commit comments

Comments
 (0)