@@ -68,31 +68,31 @@ jobs:
6868 # command: test
6969
7070 - uses : Swatinem/rust-cache@v1
71-
7271 - name : Build macOS
7372 if : matrix.os == 'macos-latest'
7473 run : just build-mac
75- # - uses: Swatinem/rust-cache@v1
74+ - uses : Swatinem/rust-cache@v1
7675 - name : Build Windows
7776 if : matrix.os == 'windows-latest'
7877 run : just build-win
79- # - uses: Swatinem/rust-cache@v1
78+ - uses : Swatinem/rust-cache@v1
8079 - name : Build Linux
8180 if : matrix.os == 'ubuntu-latest'
8281 run : just build-linux
83- # - uses: Swatinem/rust-cache@v1
82+ - uses : Swatinem/rust-cache@v1
8483
8584 - name : Upload build artefacts
8685 uses : actions/upload-artifact@v3
8786 with :
8887 name : binaries
8988 path : out/nse*.zip
9089 if-no-files-found : error
91- # - uses: Swatinem/rust-cache@v1
9290
9391 publish :
9492 runs-on : ubuntu-latest
9593 needs : build
94+ env :
95+ CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
9696 steps :
9797 - uses : actions/checkout@v3
9898 - uses : Swatinem/rust-cache@v1
@@ -111,7 +111,6 @@ jobs:
111111 uses : actions-rs/cargo@v1
112112 with :
113113 command : publish
114- # - uses: Swatinem/rust-cache@v1
115114
116115 release :
117116 runs-on : ubuntu-latest
@@ -129,7 +128,6 @@ jobs:
129128 # Remove the dots for the markdown header
130129 - name : MD Header
131130 run : echo "MD_HEADER=$(echo ${{ github.ref_name }} | sed 's/\.//g')" >> $GITHUB_ENV
132- # - uses: Swatinem/rust-cache@v1
133131 - name : Create release
134132 uses : softprops/action-gh-release@v1
135133 with :
@@ -147,4 +145,3 @@ jobs:
147145 - MSVC Windows (x64 windows msvc)
148146
149147 You can install these by downloading and unzipping the appropriate asset, and moving the executable to ~/bin or any other binary folder in your path.
150- # - uses: Swatinem/rust-cache@v1
0 commit comments